[wp-trac] [WordPress Trac] #22043: Undocumented default of post_type parameter to WP_Query with taxonomy queries
WordPress Trac
noreply at wordpress.org
Thu Nov 1 11:53:42 UTC 2012
#22043: Undocumented default of post_type parameter to WP_Query with taxonomy
queries
--------------------------+------------------------------
Reporter: dbernar1 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Query | Version:
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Changes (by dbernar1):
* keywords: reporter-feedback =>
Comment:
Replying to [comment:2 wonderboymusic]:
> Your link points at the Status Parameters docs - did you mean status or
post_type? And can you include some code that matches your use case / bug
scenario?
It seems that the fragment structure on that page changed.
http://codex.wordpress.org/Class_Reference/WP_Query#Type_Parameters is the
link.
As for code, basically any WP_Query ( or query_posts and perhaps others)
with a custom taxonomy specified, and without a post type specified.
post_type WP_Query var will be 'any'.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22043#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list