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

WordPress Trac noreply at wordpress.org
Wed Mar 22 05:12:47 UTC 2017


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

Comment (by spacedmonkey):

 Good first patch. First I think we should break out the meta query into
 another ticket. I think it is to much to put in on this. Debug will become
 a mess.

 I noticed that the reserved keys array is not filterable. I think this is
 a good move, but we should have an filter to add more keys to the end.

 There is nothing in there to sync. I think the best option is to hook into
 the add/update/delete option action and sync data on option save. A one
 way sync to option -> blogmeta. If users write to blogmeta, it is there
 responsibility.

 I think we should also be using the meta function in place of many of the
 switch_to_blog in core. I will create another ticket for this.

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


More information about the wp-trac mailing list