[wp-trac] [WordPress Trac] #37923: Introduce shared wp_blogmeta database table for multisite installation

WordPress Trac noreply at wordpress.org
Fri Jul 28 16:47:50 UTC 2017


#37923: Introduce shared wp_blogmeta database table for multisite installation
-------------------------------------------------+-------------------------
 Reporter:  johnjamesjacoby                      |       Owner:
     Type:  feature request                      |  spacedmonkey
 Priority:  normal                               |      Status:  assigned
Component:  Networks and Sites                   |   Milestone:  4.9
 Severity:  normal                               |     Version:
 Keywords:  has-patch dev-feedback has-unit-     |  Resolution:
  tests needs-testing ms-roadmap                 |     Focuses:  multisite
-------------------------------------------------+-------------------------
Changes (by spacedmonkey):

 * keywords:  has-patch, dev-feedback, has-unit-tests, needs-testing, ms-
     roadmap => has-patch dev-feedback has-unit-tests needs-testing ms-
     roadmap


Comment:

 In [https://core.trac.wordpress.org/attachment/ticket/37923/37923.2.diff
 37923.2.diff] I made some changes to @flixos90 patch.
 - Removed references to meta_query. Works on this functionality should
 continue here #40229
 - Added a new network option when site meta is installed. This is similar
 to how `ms_files_rewriting` was handled in core.
 - Moved *_site_meta function into the option.php file. This means plugin
 developers can use the functions on none multisite sites with getting
 function exists errors. We may think about falling back to options table
 on non multisite.
 - Added update_site_meta_cache to wp_site_cache
 - Moved formatting.php and meta.php earlier in bootstrap. See #37181
 - Changed _prime_site_caches to work similar to other prime functions.
 - Updated doc to 4.9.

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


More information about the wp-trac mailing list