[wp-trac] [WordPress Trac] #21602: redirect_canonical can lead to infinite loop on index navigation if site url is not all lower case

WordPress Trac noreply at wordpress.org
Wed Mar 23 21:53:48 UTC 2016


#21602: redirect_canonical can lead to infinite loop on index navigation if site
url is not all lower case
----------------------------------------+-----------------------
 Reporter:  sreedoap                    |       Owner:
     Type:  defect (bug)                |      Status:  assigned
 Priority:  normal                      |   Milestone:  4.5
Component:  Canonical                   |     Version:
 Severity:  blocker                     |  Resolution:
 Keywords:  needs-unit-tests has-patch  |     Focuses:
----------------------------------------+-----------------------

Comment (by SergeyBiryukov):

 In [changeset:"37075"]:
 {{{
 #!CommitTicketReference repository="" revision="37075"
 Canonical / Query: Restore the `is_404()` check in
 `wp_old_slug_redirect()` which was removed in [34659].
 This reverts part of [34659] due to excessive canonical problems it's
 caused in 4.4.x.

 Remove the unit tests which are no longer supported.
 This also removes the `is_feed()` code to avoid confusion - only pages &
 embeds will be redirected.

 Merges [36280] and [36281] to trunk.

 Props dd32.
 See #21602, #35344.
 }}}

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


More information about the wp-trac mailing list