[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
Wed May 13 00:27:58 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: closed
Priority: normal | Milestone:
Component: Comments | Version: 4.2
Severity: normal | Resolution: duplicate
Keywords: needs-patch dev- | Focuses: administration,
feedback | performance
-------------------------------------+-------------------------------------
Comment (by johnbillion):
Also note that caching the comment count can actually decrease performance
on sites which get a very high number of comments, because the cache value
will constantly get flushed. This was mentioned in another ticket which I
can't immediately find.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32366#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list