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

WordPress Trac noreply at wordpress.org
Mon Feb 6 23:57:37 UTC 2017


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

 * keywords:  2nd-opinion => 2nd-opinion has-patch


Comment:

 I have put together a patch of my ideas for the blog meta functions. This
 patch is very simple. It does the following

 - add the *_site_meta functions
 - Creates a new function, which returns a white list of options that will
 be synced with the options
 - hook into the add / update / delete actions in the options functions and
 copy the data into the blog meta table.

 This patch is missing a create table and migration of the data. But it is
 good first start and is a simple clean implementation.

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


More information about the wp-trac mailing list