[wp-trac] [WordPress Trac] #9256: clean up the global variables when moving out of the loop
WordPress Trac
wp-trac at lists.automattic.com
Sat Sep 19 08:41:39 UTC 2009
#9256: clean up the global variables when moving out of the loop
-------------------------------------+--------------------------------------
Reporter: aldolat | Owner: anonymous
Type: enhancement | Status: reopened
Priority: normal | Milestone: 2.8
Component: Query | Version: 2.7.1
Severity: normal | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+--------------------------------------
Changes (by robbono):
* status: closed => reopened
* resolution: fixed =>
Comment:
I've applied and tested the attached patch to query.php, but using the
modified wp_reset_query() function at the end of the single.php loop, for
example, still does not prevent the post's content from being output when
the_content() is used in the sidebar on the 2nd page of a paginated post.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9256#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list