[wp-trac] [WordPress Trac] #25344: Introduce *_network_meta() functions

WordPress Trac noreply at wordpress.org
Thu Apr 6 09:16:55 UTC 2017


#25344: Introduce *_network_meta() functions
--------------------------------+-----------------------------
 Reporter:  jeremyfelt          |       Owner:
     Type:  enhancement         |      Status:  reopened
 Priority:  normal              |   Milestone:  Future Release
Component:  Networks and Sites  |     Version:  3.0
 Severity:  normal              |  Resolution:
 Keywords:  reporter-feedback   |     Focuses:  multisite
--------------------------------+-----------------------------

Comment (by spacedmonkey):

 [https://core.trac.wordpress.org/attachment/ticket/25344/25344.3.patch
 25344.3.patch] Adds a number of fixes and changes

 - Added update_networkmeta_cache function.
 - _prime_network_caches now uses update_networkmeta_cache
 - WP_Network_Query uses update_networkmeta_cache
 - wp_load_core_site_options logic replaced with update_networkmeta_cache.
 This means that all meta (options) are loaded on page load. This now have
 some performance effects..
 - get_network_option - default option fix. Meta api doesnt support
 defaults.
 - Added cache group to tests.

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


More information about the wp-trac mailing list