[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
Fri Jan 15 14:06:54 UTC 2016


#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:  reopened
 Priority:  normal         |   Milestone:  Future Release
Component:  Comments       |     Version:  4.2
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |     Focuses:  administration, performance
---------------------------+------------------------------------------

Comment (by rachelbaker):

 Related #35060, which adds a filter to bail out of updating the comment
 count.

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


More information about the wp-trac mailing list