[wp-trac] [WordPress Trac] #50910: 5.5 Sitemap URLs are incorrectly paginated
WordPress Trac
noreply at wordpress.org
Thu Aug 27 01:28:39 UTC 2020
#50910: 5.5 Sitemap URLs are incorrectly paginated
---------------------------------------------+----------------------------
Reporter: jonathanstegall | Owner: peterwilsoncc
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.5.1
Component: Sitemaps | Version: 5.5
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses:
---------------------------------------------+----------------------------
Changes (by peterwilsoncc):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"48872" 48872]:
{{{
#!CommitTicketReference repository="" revision="48872"
Sitemaps: Prevent incorrect redirection of paged sitemap requests.
Update `redirect_canonical()` to account for custom pagination and URL
format used by sitemaps in order to follow standard practices.
Introduce the function `get_sitemap_url()` to simplify getting the index
and provider URLs as needed.
Props jonathanstegall, pbiron, GamerZ, salvoaranzulla, peterwilsoncc.
Fixes #50910.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50910#comment:27>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list