[wp-trac] [WordPress Trac] #58962: Provide a way to load multiple specific options with a single database request
WordPress Trac
noreply at wordpress.org
Tue Oct 24 14:34:59 UTC 2023
#58962: Provide a way to load multiple specific options with a single database
request
-------------------------------------------------+-------------------------
Reporter: flixos90 | Owner: flixos90
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.4
Component: Options, Meta APIs | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests has-dev- | Focuses:
note dev-reviewed | performance
-------------------------------------------------+-------------------------
Changes (by flixos90):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"57004" 57004]:
{{{
#!CommitTicketReference repository="" revision="57004"
Options, Meta APIs: Rename `prime_options()` to `wp_load_options()`.
This clearly separates these functions which are intended to be used by
external developers from the existing `_prime_*_caches()` functions which
are primarily intended for internal usage. The term "load" is additionally
more accessible than "prime".
This changeset renames the above function, as well as the wrapper function
`prime_options_by_group()` to `wp_load_options_by_group()`.
Props peterwilsoncc, joemcgill, hellofromTonya, poran766, flixos90.
Merges [56990] to the 6.4 branch.
Fixes #58962.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58962#comment:39>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list