[wp-trac] [WordPress Trac] #50910: 5.5 Sitemap URLs are incorrectly paginated

WordPress Trac noreply at wordpress.org
Thu Aug 27 01:35:45 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:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"48873" 48873]:
 {{{
 #!CommitTicketReference repository="" revision="48873"
 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.
 Merges [48872] to the 5.5 branch.
 Fixes #50910.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50910#comment:29>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list