[wp-trac] [WordPress Trac] #59871: Prime further options in `wp_load_core_site_options()`
WordPress Trac
noreply at wordpress.org
Wed Jul 31 22:56:47 UTC 2024
#59871: Prime further options in `wp_load_core_site_options()`
--------------------------------+-------------------------------------
Reporter: peterwilsoncc | Owner: peterwilsoncc
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.7
Component: Options, Meta APIs | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch commit | Focuses: multisite, performance
--------------------------------+-------------------------------------
Changes (by peterwilsoncc):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"58837" 58837]:
{{{
#!CommitTicketReference repository="" revision="58837"
Options, Meta APIs: Prime salts when stored in database.
For salts generated and stored in the database, use
`wp_prime_site_option_caches()` within `wp_salt()` to prime the options in
a single database query, down from up to nine database queries.
The options are primed when the corresponding constant is either undefined
or uses the default string `put your unique phrase here`.
Props joemcgill, spacedmonkey, peterwilsoncc.
Fixes #59871.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59871#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list