[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
Mon Oct 11 20:17:10 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:14 scribu]:
 > That's exactly the point. You can already annoate information to
 WP_Query yourself.

 And you are exactly missing the point; we need to introduce a way that
 others will annotate WP_Query in a standard way (especially in core) so we
 can start to depend on it.

 My issues don't arise when I'm in full control of the code but when
 instead I'm trying to modify code someone else wrote using a global
 filter. '''In those cases I ''cannot'' annoate information to WP_Query
 myself.'''

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15063#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list