[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
Thu Jun 5 05:16:34 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:  Future
Component:  Canonical                            |  Release
 Severity:  major                                |     Version:  3.5
 Keywords:  has-patch needs-unit-tests           |  Resolution:
  4.0-early                                      |     Focuses:
-------------------------------------------------+-------------------------

Comment (by jtsternberg):

 Replying to [comment:13 nacin]:
 > I like [attachment:combined.2.patch] but after studying this a few times
 over the last few weeks, I've come to the conclusion it needs unit tests.

 Tried to write some unit tests (working on my unit-testing chops), but am
 unsure what I'm testing against. Nacin, do you have a particular logic in
 mind?

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


More information about the wp-trac mailing list