[wp-trac] [WordPress Trac] #19920: Post shortlink box tied to the wrong post type parameter

WordPress Trac wp-trac at lists.automattic.com
Sun Jan 29 18:15:47 UTC 2012


#19920: Post shortlink box tied to the wrong post type parameter
--------------------------+----------------------
 Reporter:  phill_brown   |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Post Types    |     Version:  3.3.1
 Severity:  minor         |  Resolution:  invalid
 Keywords:  has-patch     |
--------------------------+----------------------
Changes (by nacin):

 * status:  new => closed
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 publicly_queryable is designed to control the querying of objects of that
 post type in the general sense, not individually.

 It's phpdoc description is: "Whether post_type queries can be performed
 from the front page. Defaults to whatever public is set as."

 So, example.com/?post_type=tweet will filter and show you tweets as long
 as the tweet post type has publicly_queryable = true.

 Notably, pages are set to false, which means that ?post_type=page will not
 get you a list of pages.

 This played out in #17040.

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


More information about the wp-trac mailing list