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

WordPress Trac noreply at wordpress.org
Wed Aug 23 15:02:36 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 has-unit-tests needs-      |  Resolution:
  testing ms-roadmap                             |     Focuses:  multisite
-------------------------------------------------+-------------------------

Comment (by flixos90):

 @spacedmonkey

 > It also allows you to write a custom install script that installs the
 table and set the value to 1 on all networks. This makes it is easier for
 people running a large multisite setup.

 That is why I don't like the idea of storing it per network: For almost
 every setup, it would be the same value in every network.
 In [attachment:37923.8.diff] it is possible to say `add_filter(
 'is_site_meta_supported', '__return_true' )`, and this will ensure that
 the setting is never even set anywhere, which is the cleanest way of
 dealing with this change IMO. Of course we cannot expect the common setup
 to use that strategy, and that's what we'd use the setting on the main
 network for, as a fallback flag basically.

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


More information about the wp-trac mailing list