[wp-trac] [WordPress Trac] #56386: Remove `@access private` from cache priming functions.
WordPress Trac
noreply at wordpress.org
Thu Aug 25 00:51:19 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 SergeyBiryukov):
Good point, if we didn't drop the underscore from `_doing_it_wrong()`,
`_deprecated_function()`, seems OK to keep it here too.
I suppose we could also introduce non-underscored aliases like
`prime_post_caches()` or `wp_prime_post_caches()`, but I'm not sure if
there's a strong reason for that at this time, so keeping the current
names would be my preference.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56386#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list