[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
Sun Dec 6 18:33:23 UTC 2015


#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-refresh has-unit-    |  Resolution:
  tests                                          |     Focuses:
-------------------------------------------------+-------------------------
Changes (by jared_smith):

 * keywords:  has-patch => has-patch needs-refresh has-unit-tests


Comment:

 Re-rolled this patch to bring it up to current TRUNK.  This patch,
 however, causes another unit test to fail:


 {{{
 1) Tests_Rewrite_OldSlugRedirect::test_old_slug_redirect_attachment
 Failed asserting that null matches expected 'http://example.org/bar-baz
 /the-attachment/'.

 wordpress-trunk/tests/phpunit/tests/rewrite/oldSlugRedirect.php:130
 }}}

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


More information about the wp-trac mailing list