[wp-trac] [WordPress Trac] #17040: Completely ignore ?post_type=page
WordPress Trac
wp-trac at lists.automattic.com
Fri May 13 17:07:52 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 |
--------------------------+------------------
Changes (by chrisbliss18):
* cc: gaarai@… (added)
* keywords: => has-patch
Comment:
I may be oversimplifying things, but isn't all that's needed is a
modification to the arguments used to register the page post type? The
publicly_queryable argument is available but it defaults to true if public
is true, which it is for pages.
I'm attaching a patch showing what I'm talking about.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17040#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list