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

WordPress Trac noreply at wordpress.org
Fri Mar 16 02:14:06 UTC 2018


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

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"42836"]:
 {{{
 #!CommitTicketReference repository="" revision="42836"
 Multisite: Introduce metadata for sites.

 A new global multisite table `wp_blogmeta` is added to the database
 schema, and a set of `*_site_meta()` API functions are introduced.

 The implementation fails gracefully when the new table is not yet
 available, which may happen especially shortly after the core update,
 before the network has been upgraded to the new database schema. The
 presence of the table is detected once and stored as a global setting on
 the main network.

 Core does not yet use site metadata, but there are several use-cases to be
 implemented or explored in the near future, and it allows plugins to
 extend sites with arbitrary data, which will come in particularly handy
 with the upcoming REST API endpoint for sites.

 Props spacedmonkey, johnjamesjacoby, jeremyfelt, flixos90.
 Fixes #37923.
 }}}

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


More information about the wp-trac mailing list