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

WordPress Trac noreply at wordpress.org
Thu Jan 26 08:19:01 UTC 2017


#37923: Introduce shared wp_blogmeta database table for multisite installations
--------------------------------+------------------------------
 Reporter:  johnjamesjacoby     |       Owner:
     Type:  feature request     |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Networks and Sites  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:  2nd-opinion         |     Focuses:  multisite
--------------------------------+------------------------------

Comment (by flixos90):

 @mnelson4 Indeed that's what this table would be for. The name `blogmeta`
 is only since `sitemeta` is unfortunately already taken for network meta.
 We'd love to find a better name, but currently we don't have a better
 idea.

 The data would probably be stored in one or the other table only. Our plan
 is to have the `*_option()` functions check whether the requested option
 is in the whitelist for `blogmeta` (only when multisite is activated of
 course) and choose the table depending on that. We'll have to be careful
 how we approach this though as we of course will also have a migration
 path to go, and it might happen that a `blogmeta` option is not actually
 in that table just because it has not been migrated yet.

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


More information about the wp-trac mailing list