[wp-trac] [WordPress Trac] #30928: Small performance improvement of wp_count_posts
WordPress Trac
noreply at wordpress.org
Tue Jan 6 16:57:16 UTC 2015
#30928: Small performance improvement of wp_count_posts
-------------------------------+-----------------------------
Reporter: minderdl | Owner: SergeyBiryukov
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.2
Component: Posts, Post Types | Version: 2.5.1
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses:
-------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* owner: => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"31058"]:
{{{
#!CommitTicketReference repository="" revision="31058"
Skip building the query in wp_count_posts() if cached results are used.
props MikeHansenMe.
fixes #30928.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30928#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list