[wp-trac] [WordPress Trac] #57816: WordPress shows author archive in sitemap even if there are no posts
WordPress Trac
noreply at wordpress.org
Fri Sep 15 18:11:03 UTC 2023
#57816: WordPress shows author archive in sitemap even if there are no posts
-------------------------------------------------+-------------------------
Reporter: zodiac1978 | Owner: swissspidy
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 6.4
Component: Sitemaps | Version: 5.5
Severity: normal | Resolution:
Keywords: good-first-bug has-patch has-unit- | Focuses:
tests needs-testing |
-------------------------------------------------+-------------------------
Comment (by huzaifaalmesbah):
== Test Report ==
I Test 4900.diff ✅ working
=== Environment ===
OS: macOS m1
WordPress 6.4-alpha-56267-src
PHP 7.4.33
nginx/1.25.2
MySQL 5.7.43
Browser: Chrome 116.0.5845.140
Theme: Twenty Twenty v2.3
Active Plugins: No plugins activated.
=== Expected Results ===
✅ Don't show the author's sitemap if there are no posts
=== Actual Results ===
✅ After Applying Patch. working properly
== Before Applying Patch ==
[[Image(https://i.ibb.co/51kVqcD/Screenshot-2023-09-16-at-12-00-44-AM.png)]]
== After Applying Patch ==
[[Image(https://i.ibb.co/njvFtwW/Screenshot-2023-09-16-at-12-01-11-AM.png)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57816#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list