[wp-trac] [WordPress Trac] #16798: Admin bar edit action is affected by query_posts, tax_query

WordPress Trac wp-trac at lists.automattic.com
Mon Sep 26 14:47:15 UTC 2011


#16798: Admin bar edit action is affected by query_posts, tax_query
----------------------------+------------------
 Reporter:  kanuck54        |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  3.3
Component:  Administration  |     Version:  3.1
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |
----------------------------+------------------

Comment (by kanuck54):

 Sounds great. I now understand to use `WP_Query` and its `the_post()`
 method, and then restore with `wp_reset_postdata()`, but I still agree
 that modifying the query shouldn't affect the admin bar—so thanks for
 addressing it!

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


More information about the wp-trac mailing list