[wp-trac] [WordPress Trac] #17040: Completely ignore ?post_type=page
WordPress Trac
wp-trac at lists.automattic.com
Thu May 19 19:56:15 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):
Replying to [comment:22 scribu]:
> I don't really understand the need to redefine publicly_queryable.
It's not redefining it, it's restoring its original intention.
> > Even with has_archive => false, post_type=foo should still work, where
foo != page.
>
> It should work, as long as it's paired with name=bar, i.e. when viewing
a single post.
No, that's incorrect. ?post_type=foo must be allowed to work on non-single
posts. The sole exception is when post_type=page.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17040#comment:23>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list