[-] Classes : #PSCFI-4477 : BugFix GSiteMap priority - Decimals no longer take care about local numeric separator
This commit is contained in:
@@ -309,7 +309,7 @@ XML;
|
|||||||
{
|
{
|
||||||
$sitemap = $xml->addChild('url');
|
$sitemap = $xml->addChild('url');
|
||||||
$sitemap->addChild('loc', htmlspecialchars($loc));
|
$sitemap->addChild('loc', htmlspecialchars($loc));
|
||||||
$sitemap->addChild('priority', $priority);
|
$sitemap->addChild('priority', number_format($priority,1,'.',''));
|
||||||
if ($last_mod)
|
if ($last_mod)
|
||||||
$sitemap->addChild('lastmod', $last_mod);
|
$sitemap->addChild('lastmod', $last_mod);
|
||||||
$sitemap->addChild('changefreq', $change_freq);
|
$sitemap->addChild('changefreq', $change_freq);
|
||||||
|
|||||||
Reference in New Issue
Block a user