[wp-trac] [WordPress Trac] #56386: Remove `@access private` from cache priming functions.
WordPress Trac
noreply at wordpress.org
Fri Aug 26 01:01:38 UTC 2022
#56386: Remove `@access private` from cache priming functions.
--------------------------------------+----------------------------
Reporter: peterwilsoncc | Owner: peterwilsoncc
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.1
Component: Cache API | Version:
Severity: normal | Resolution: fixed
Keywords: good-first-bug has-patch | Focuses: performance
--------------------------------------+----------------------------
Changes (by peterwilsoncc):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"53944" 53944]:
{{{
#!CommitTicketReference repository="" revision="53944"
Cache API, Docs: Remove private delegation from cache priming functions.
Remove the private delegation from the following cache priming functions
for various object types:
- `_prime_post_caches()`
- `_prime_term_caches()`
- `_prime_comment_caches()`
- `_prime_network_caches()`
- `_prime_site_caches()`
- `_get_non_cached_ids() `
Plugins and themes are now encouraged to use these functions to improve
the performance of their code by reducing the number of database queries.
Props robinwpdeveloper, desrosj, SergeyBiryukov, mukesh27, costdev.
Fixes #56386.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56386#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list