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

WordPress Trac noreply at wordpress.org
Wed Dec 16 04:33:05 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 pento):

 `_wp_old_slug` is the slug that the post used to have, before it was
 changed. If the post slug is never changed, it doesn't have a
 `_wp_old_slug` meta value.

 The current post slug is stored in the `post_name`.

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


More information about the wp-trac mailing list