[wp-trac] [WordPress Trac] #35031: wp_old_slug_redirect() in 4.4 redirecting existing posts

WordPress Trac noreply at wordpress.org
Thu Dec 17 09:39:17 UTC 2015

#35031: wp_old_slug_redirect() in 4.4 redirecting existing posts
 Reporter:  douglsmith                           |       Owner:  pento
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  4.4.1
Component:  Query                                |     Version:  4.4
 Severity:  critical                             |  Resolution:
 Keywords:  has-patch needs-unit-tests needs-    |     Focuses:
  testing                                        |

Comment (by bobbingwide):

 Replying to [comment:28 bobbingwide]:
 > Note: I'm currently having problems when I introduced "pending" posts
 with the same slug into the scenario.
 > The existence of the pending post seems to prevent a visitor from
 viewing the previously published post.
 > It gives a 404 when you click on the permalink for the existing
 published post.

 I've raised #35131 to address this bug, suggesting one solution would be
 to ensure pending posts don't get the same slug as an existing one.

Ticket URL: <https://core.trac.wordpress.org/ticket/35031#comment:30>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list