[wp-trac] [WordPress Trac] #56386: Remove `@access private` from cache priming functions.
WordPress Trac
noreply at wordpress.org
Wed Aug 24 19:13:17 UTC 2022
#56386: Remove `@access private` from cache priming functions.
----------------------------------------+------------------------------
Reporter: peterwilsoncc | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Cache API | Version:
Severity: normal | Resolution:
Keywords: good-first-bug needs-patch | Focuses: performance
----------------------------------------+------------------------------
Comment (by desrosj):
I can't find it in the handbook at the moment, but I believe the idea with
the preceding `_` underscore was for developers to easily know when a
function should be considered private.
If we're removing `@access private` from these, would it make sense to
deprecate the current functions in favor of `prime_post_caches()`,
`prime_term_caches()`, etc.?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56386#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list