wordpress-develop/tests/phpunit/tests/sitemaps
Pascal Birchler a52838d1b1 Sitemaps: do not list users who only authored pages.
Author archives are only generated for users who created at least one post.
Prevent adding author archives to the XML sitemap for users who only authored pages
as the links would otherwise result in a 404.

Props zodiac1978, huzaifaalmesbah.
Fixes #57816.

git-svn-id: https://develop.svn.wordpress.org/trunk@56708 602fd350-edb4-49c9-b593-d223f7449a82
2023-09-26 12:40:36 +00:00
..
functions.php Tests: Use the data_ prefix for various data provider methods. 2023-03-19 12:03:30 +00:00
sitemaps.php Tests: Rename classes in phpunit/tests/sitemaps/ per the naming conventions. 2021-07-26 19:09:41 +00:00
wpSitemapsIndex.php Tests: Rename classes in phpunit/tests/sitemaps/ per the naming conventions. 2021-07-26 19:09:41 +00:00
wpSitemapsPosts.php Tests: Improve the test for sticky posts not being moved to the front in sitemaps. 2022-06-22 16:50:14 +00:00
wpSitemapsRegistry.php Sitemaps: Prevent invalid provider names throwing errors. 2022-08-05 05:47:56 +00:00
wpSitemapsRenderer.php Tests: Rename classes in phpunit/tests/sitemaps/ per the naming conventions. 2021-07-26 19:09:41 +00:00
wpSitemapsStylesheet.php Tests: Rename classes in phpunit/tests/sitemaps/ per the naming conventions. 2021-07-26 19:09:41 +00:00
wpSitemapsTaxonomies.php Tests: Rename classes in phpunit/tests/sitemaps/ per the naming conventions. 2021-07-26 19:09:41 +00:00
wpSitemapsUsers.php Sitemaps: do not list users who only authored pages. 2023-09-26 12:40:36 +00:00