[wp-trac] [WordPress Trac] #55227: Attachments: add caching to wp_count_attachments
WordPress Trac
noreply at wordpress.org
Tue Sep 20 14:21:14 UTC 2022
#55227: Attachments: add caching to wp_count_attachments
-------------------------------------------------+-------------------------
Reporter: jeherve | Owner: audrasjb
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.1
Component: Media | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch dev-feedback needs- | Focuses:
testing has-unit-tests | performance
-------------------------------------------------+-------------------------
Changes (by audrasjb):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"54255" 54255]:
{{{
#!CommitTicketReference repository="" revision="54255"
Media: Add caching to `wp_count_attachments()`.
This changeset adds caching to `wp_count_attachments()`, for better
consistency with `wp_count_posts()`.
Props jeherve, antpb, mukesh27, robinwpdeveloper, costdev.
Fixes #55227.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55227#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list