[wp-trac] [WordPress Trac] #32366: wp_count_comments() is hardcoded into /wp-admin/menu.php and queries all comments every single page load within the admin area, regardless of if edt_posts is removed from top menu or not

WordPress Trac noreply at wordpress.org
Tue May 12 23:14:00 UTC 2015


#32366: wp_count_comments() is hardcoded into /wp-admin/menu.php and queries all
comments every single page load within the admin area, regardless of if
edt_posts is removed from top menu or not
---------------------------+------------------------------------------
 Reporter:  justindocanto  |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Comments       |     Version:  4.2.2
 Severity:  normal         |  Resolution:
 Keywords:                 |     Focuses:  administration, performance
---------------------------+------------------------------------------

Comment (by justindocanto):

 Just realize 'hardcoded' was a poor choice of words, but i think the point
 is there. wp_count_comments() is called with no way to disable it. I'm new
 to helping with core, sorry. :)

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


More information about the wp-trac mailing list