[wp-trac] [WordPress Trac] #18408: Can't wp_reset_postdata after custom WP_Query in an admin edit page

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 15 03:16:13 UTC 2011


#18408: Can't wp_reset_postdata after custom WP_Query in an admin edit page
--------------------------------------------------+------------------------
 Reporter:  ericlewis                             |       Owner:  ericlewis
     Type:  defect (bug)                          |      Status:  closed
 Priority:  normal                                |   Milestone:
Component:  Editor                                |     Version:  3.2.1
 Severity:  normal                                |  Resolution:  invalid
 Keywords:  has-patch needs-testing dev-feedback  |
--------------------------------------------------+------------------------

Comment (by ericlewis):

 I set it to invalid because the proper thing to do in this situation is to
 use get_posts() anywhere in the back-end, and not use any template tags.

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


More information about the wp-trac mailing list