[wp-trac] [WordPress Trac] #17337: wp_old_slug_redirect() fails with multiple post_type query

WordPress Trac noreply at wordpress.org
Fri Feb 21 17:23:19 UTC 2014


#17337: wp_old_slug_redirect() fails with multiple post_type query
--------------------------+------------------------------
 Reporter:  joehoyle      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Canonical     |     Version:  3.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by mordauk):

 I'm not sure I'm following this. Why would a redirect need to happen on a
 query for multiple post types? The `wp_old_slug_redirect()` should only
 happen (I think) when a query attempts to retrieve a single item, not a
 list of items. Right?

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


More information about the wp-trac mailing list