[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
Thu Mar 27 06:28:59 UTC 2014


#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 reporter-feedback  |     Focuses:  administration
-----------------------------------------+------------------------------
Changes (by jeremyfelt):

 * keywords:  has-patch => has-patch reporter-feedback
 * version:  trunk => 3.0


Comment:

 It is interesting that we use the loop like that in the quick search. Is
 there a specific scenario where this becomes a problem?

 Related, this was introduced in #12713

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


More information about the wp-trac mailing list