[wp-trac] [WordPress Trac] #55633: First sitemap has more URLs than expected with sticky posts
WordPress Trac
noreply at wordpress.org
Tue Jun 21 13:16:24 UTC 2022
#55633: First sitemap has more URLs than expected with sticky posts
---------------------------------------------+-----------------------
Reporter: RavanH | Owner: audrasjb
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.1
Component: Sitemaps | Version: 5.5
Severity: minor | Resolution: fixed
Keywords: has-patch commit has-unit-tests | Focuses:
---------------------------------------------+-----------------------
Changes (by audrasjb):
* owner: (none) => audrasjb
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"53548" 53548]:
{{{
#!CommitTicketReference repository="" revision="53548"
Sitemaps: Remove duplicate sticky Posts from Sitemap Post Query.
This changeset sets the `ignore_sticky_posts` parameter to `true` in the
default arguments passed to `wp_sitemaps_posts_query_args`.
Props RavanH, pbiron, swissspidy, audrasjb, SergeyBiryukov.
Fixes #55633.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55633#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list