[wp-trac] [WordPress Trac] #56913: Prime network options in a single cache call using wp_cache_get_multiple

WordPress Trac noreply at wordpress.org
Tue Jun 27 10:40:13 UTC 2023


#56913: Prime network options in a single cache call using wp_cache_get_multiple
--------------------------------------------+---------------------------
 Reporter:  spacedmonkey                    |       Owner:  spacedmonkey
     Type:  enhancement                     |      Status:  closed
 Priority:  normal                          |   Milestone:  6.3
Component:  Options, Meta APIs              |     Version:  3.0
 Severity:  normal                          |  Resolution:  fixed
 Keywords:  has-patch needs-testing commit  |     Focuses:  performance
--------------------------------------------+---------------------------
Changes (by spacedmonkey):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"56061" 56061]:
 {{{
 #!CommitTicketReference repository="" revision="56061"
 Options, Meta APIs: Prime network options in a single cache call using
 wp_cache_get_multiple.

 Tweak the `wp_load_core_site_options` function, to also prime network
 options using `wp_cache_get_multiple` if persistent object cache is
 present.

 Props mukesh27, oglekler, peterwilsoncc, costdev, jeremyfelt,
 spacedmonkey.
 Fixes #56913.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56913#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list