[wp-trac] [WordPress Trac] #20297: WP_Query implements IteratorAggregate

WordPress Trac wp-trac at lists.automattic.com
Mon Jun 18 23:06:18 UTC 2012


#20297: WP_Query implements IteratorAggregate
-----------------------------+-------------------------
 Reporter:  hakre            |       Owner:
     Type:  feature request  |      Status:  closed
 Priority:  normal           |   Milestone:
Component:  General          |     Version:
 Severity:  normal           |  Resolution:  maybelater
 Keywords:  has-patch close  |
-----------------------------+-------------------------
Changes (by nacin):

 * status:  new => closed
 * resolution:   => maybelater
 * milestone:  Awaiting Review =>


Comment:

 > I like the idea. I just don't think we're at the point yet where we
 should do this. Especially since it is just as easy, for now, to run
 foreach() and count() on $wp_query->posts. I suggest closing it as
 maybelater.

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


More information about the wp-trac mailing list