[wp-trac] [WordPress Trac] #17040: Completely ignore ?post_type=page

WordPress Trac wp-trac at lists.automattic.com
Wed May 18 19:53:38 UTC 2011


#17040: Completely ignore ?post_type=page
--------------------------+------------------
 Reporter:  scribu        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.2
Component:  General       |     Version:  3.0
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------

Comment (by nacin):

 Even with `has_archive => false`, `post_type=foo` should still work, where
 foo != page.

 I like your idea of re-defining publicly_queryable to being the query var
 itself and restricted to the WP class. We should revert other changes and
 move them to `public`.

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


More information about the wp-trac mailing list