[wp-trac] [WordPress Trac] #15063: Add a "context" property to WP_Query as a 2nd param to its constructor
WordPress Trac
wp-trac at lists.automattic.com
Fri Oct 8 23:21:24 UTC 2010
#15063: Add a "context" property to WP_Query as a 2nd param to its constructor
--------------------------+-------------------------------------------------
Reporter: mikeschinkel | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: Post Types | Version:
Severity: normal | Resolution: wontfix
Keywords: |
--------------------------+-------------------------------------------------
Comment(by Denis-de-Bernardy):
Well, if it's the main loop, yipou can always check for $wp_query ===
$wp_the_query. For everything else, assume it's a plugin, and not yours,
unless the context, or ID, or whatever, is specified.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15063#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list