[wp-trac] [WordPress Trac] #27042: Use of the_post() in _wp_admin_menu_quick_search() is making in_the_loop = true

WordPress Trac noreply at wordpress.org
Sun Jun 26 11:39:18 UTC 2016


#27042: Use of the_post() in _wp_admin_menu_quick_search() is making in_the_loop =
true
--------------------------+------------------------------
 Reporter:  ruud@…        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Menus         |     Version:  3.0
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  administration
--------------------------+------------------------------
Changes (by ruud@…):

 * keywords:  has-patch dev-feedback => has-patch


Comment:

 Just had a quick discussion at WCEU contributor day 2016 with @jeremyfelt.
 The patch may be fixing this, however the usage of query_posts itself is
 also a bit odd. So instead of fixing this badly I'm going to propose
 another patch which removes the usage of the query_posts entirely

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27042#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list