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

WordPress Trac noreply at wordpress.org
Wed Sep 11 08:20:20 UTC 2013


#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  |
-----------------------------+-------------------------

Comment (by hakre):

 Example of a WP 3.6 compatible iterator for posts of a WP_Query:
 https://gist.github.com/hakre/6520715

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


More information about the wp-trac mailing list