[wp-trac] [WordPress Trac] #19693: redirect_guess_404_permalink() can catch the wrong post types

WordPress Trac wp-trac at lists.automattic.com
Wed May 2 16:59:57 UTC 2012


#19693: redirect_guess_404_permalink() can catch the wrong post types
------------------------------+------------------
 Reporter:  nacin             |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  3.4
Component:  Canonical         |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+------------------

Comment (by jeremyfelt):

 I think it's safe to be stay specific with 'publicly_queryable' here.

 There is a possibility of a post type being registered with `'public' =>
 false` and an overriding `'publicly_queryable' => true` (or vice versa)
 that we should allow for.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19693#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list