[wp-trac] [WordPress Trac] #19901: Speeding up Dashboard and Comment moderation SQL load
WordPress Trac
noreply at wordpress.org
Wed Apr 20 05:51:36 UTC 2022
#19901: Speeding up Dashboard and Comment moderation SQL load
-------------------------------------------------+-------------------------
Reporter: FolioVision | Owner:
| spacedmonkey
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.0
Component: Comments | Version: 3.3
Severity: major | Resolution: fixed
Keywords: needs-testing has-patch commit | Focuses:
assigned-for-commit | performance
-------------------------------------------------+-------------------------
Changes (by peterwilsoncc):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"53225" 53225]:
{{{
#!CommitTicketReference repository="" revision="53225"
Comments: Improve accuracy of `get_comment_count()` docblock.
Remove reference to uncached database query now `get_comment_count()` uses
`WP_Comment_Query` which contains caching. Remove reference to `$wpdb`
global, it is no longer used.
Follow up to [53036].
Fixes #19901.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/19901#comment:39>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list