[wp-trac] [WordPress Trac] #24785: Nested loops and resetting post data

WordPress Trac noreply at wordpress.org
Sat Sep 21 16:59:41 UTC 2013


#24785: Nested loops and resetting post data
----------------------------------------------------+------------------
 Reporter:  ericlewis                               |       Owner:
     Type:  enhancement                             |      Status:  new
 Priority:  normal                                  |   Milestone:  3.7
Component:  Query                                   |     Version:
 Severity:  normal                                  |  Resolution:
 Keywords:  has-patch needs-testing has-unit-tests  |
----------------------------------------------------+------------------

Comment (by ericlewis):

 attachment:24785.4.diff makes wp_reset_postdata() call reset_postdata() on
 the global $wp_query, as well as combining the unit test and the core
 patch into one.

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


More information about the wp-trac mailing list