[wp-trac] [WordPress Trac] #23074: Changing post's URL and then setting it back causes redirect loop (wp_old_slug_redirect)

WordPress Trac noreply at wordpress.org
Wed Feb 5 02:52:25 UTC 2014


#23074: Changing post's URL and then setting it back causes redirect loop
(wp_old_slug_redirect)
-----------------------------------+-----------------------
 Reporter:  vbuterin               |       Owner:
     Type:  defect (bug)           |      Status:  reopened
 Priority:  normal                 |   Milestone:
Component:  Canonical              |     Version:  3.5
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:
-----------------------------------+-----------------------

Comment (by kitchin):

 The patch for `wp_check_for_changed_slugs()` is `post.php` is here if you
 want it, and it explains the source of the problem. But I would skip it,
 since it's hard to test and it removes '_old_slug' values in some cases
 where you might want to keep them. It is better than the current code in
 preventing cruft, though.

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


More information about the wp-trac mailing list