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

WordPress Trac noreply at wordpress.org
Sun Apr 16 23:04:45 UTC 2017


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

 * keywords:  reporter-feedback has-patch needs-testing => reporter-feedback
     has-patch needs-testing has-unit-tests


Comment:

 Notable changed in 25344.9.patch

 - Add delete_network_meta_by_key function
 - Use get_current_network_id in wp_load_core_site_options. Removed use of
 global $wpdb;
 - Updated docs for network_options to add changed in this patch.
 - clean_network_cache now deletes site meta
 - update_network_option now used $old_value param in update_network_meta
 - Added limited tests. Props @flixos90 as I copied his ones from
 wp_blogmeta patch.
 - Fixed Indentation issues

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


More information about the wp-trac mailing list