[wp-trac] [WordPress Trac] #12320: Invalid call to wp_reset_query() inside Recent Posts widget
WordPress Trac
wp-trac at lists.automattic.com
Sat Feb 27 23:37:12 UTC 2010
#12320: Invalid call to wp_reset_query() inside Recent Posts widget
--------------------------+-------------------------------------------------
Reporter: michelwppi | Owner: azaozz
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: Widgets | Version: 2.9.2
Severity: normal | Keywords: has-patch query loop
--------------------------+-------------------------------------------------
Comment(by Denis-de-Bernardy):
I can't recall why the post data is no longer set up, though. scanning
through the logs for that hook and for the likes of loop_start/loop_end
would probably reveal it, though.
also, I continue to stand by my opinion on this. it wouldn't be such a
huge mess if we weren't relying on globals, and references to globals
(wp_the_query), and incorrect globals (wp_query in the various is_*()
functions), and...
--
Ticket URL: <http://core.trac.wordpress.org/ticket/12320#comment:17>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list