[wp-trac] [WordPress Trac] #58962: Provide a way to load multiple specific options with a single database request
WordPress Trac
noreply at wordpress.org
Thu Oct 26 18:52:58 UTC 2023
#58962: Provide a way to load multiple specific options with a single database
request
-------------------------------------------------+-------------------------
Reporter: flixos90 | Owner: flixos90
Type: enhancement | Status: reopened
Priority: normal | Milestone: 6.4
Component: Options, Meta APIs | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests has-dev- | Focuses:
note dev-reviewed | performance
-------------------------------------------------+-------------------------
Comment (by joemcgill):
I like the approach naming approach agreed to by @peterwilsoncc and
@flixos90, as demonstrated in [https://github.com/WordPress/wordpress-
develop/pull/5548#issuecomment-1780285005 PR #5548].
There is consistency with the existing `_prime_{thing}_caches` functions
with the added clarity that these are intended for public use by
introducing them with the `wp_` prefix. @peterwilsoncc do you plan to open
a follow-up ticket to consider updating existing priming function names
with a `wp_` prefix as a way of encouraging additional use of those
functions by third-party projects?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58962#comment:53>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list