[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 19:06:38 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 scribu):

 Replying to [comment:11 mikeschinkel]:
 > As I think more about this the context property proposed should probably
 be an array treated as a stack for adding and removing, and a collection
 for inspection.

 Seems to resemble the WP_Query object itself, doesn't it?

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


More information about the wp-trac mailing list