[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 13:29:08 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 mikeschinkel):
Replying to [comment:4 Denis-de-Bernardy]:
> Seems to me that always passing the wp_query object is good enough.
Can you explain to me how? And I'm not sure even what you mean, "passing
the wp_query object?"
> You can add an ID property to it if necessary before running
get_posts().
> Suggesting we re-open if the object is not systematically passed, too.
I don't follow. Can you give some code examples to what you mean?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15063#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list