[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
Thu May 9 20:57:05 UTC 2019


#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:  (none)
     Type:  defect (bug)     |      Status:  reopened
 Priority:  normal           |   Milestone:  Future Release
Component:  Comments         |     Version:  4.2
 Severity:  normal           |  Resolution:
 Keywords:  has-patch close  |     Focuses:  administration, performance
-----------------------------+------------------------------------------

Comment (by justindocanto):

 Replying to [comment:17 lkraav]:
 > Turns out this might be a duplicate of #19901?

 #19901 is suggesting a speed up while this ticket (#32366) is suggesting &
 working on a way to bypass/disable/filter the function entirely. Similar
 reasons for both, but 2 different end results being worked on. I would
 love to see it sped up AND a way to disable it.

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


More information about the wp-trac mailing list