Bug with the stite map if the post type has only one record type
-
There are many linguals used on our site, but not all of them are used.
In this case, the site map breaks on the Russian localization because it has only one post type and no taxonomies.
Problematic piece of code
xml-sitemap-generator-for-google/includes/vendor/SitemapGenerator.php
I think the condition is incorrect here, it should be “> 0”:if ( count( $this->sitemaps ) > 1 ) {
https://disk.yandex.ru/i/vfnm0zKR7wQPkg
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.