[wp-trac] [WordPress Trac] #55633: First sitemap has more URLs than expected with sticky posts
WordPress Trac
noreply at wordpress.org
Wed Apr 27 18:08:05 UTC 2022
#55633: First sitemap has more URLs than expected with sticky posts
--------------------------+------------------------------
Reporter: RavanH | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Sitemaps | Version: 5.5
Severity: minor | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Changes (by pbiron):
* version: 5.9.3 => 5.5
Comment:
Thanx for the ticket.
I'll have to think about this a little more, but on first thought it seems
to make sense to add `'ignore_sticky_posts' => true` to the default args
passed to `wp_sitemaps_posts_query_args`.
@swissspidy do you have thoughts on this?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55633#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list