[wp-trac] [WordPress Trac] #37923: Introduce shared wp_blogmeta database table for multisite installation
WordPress Trac
noreply at wordpress.org
Wed Aug 23 10:50:55 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 spacedmonkey):
[https://core.trac.wordpress.org/attachment/ticket/37923/37923.6.diff
37923.6.diff]
Key highlights
- Introducted `is_site_meta_supported()` function. This is a wrapper to
the network option for the main network. It stores an int value so type
checking can be used to check the value isn't in the database. The
function can be found in functions.php, similar to `global_terms_enabled`.
- Populate network now uses `is_site_meta_supported()`. This is so when
multisite installed, the setting is populated.
I was wonder if we should look at #40418 at part of this ticket. What are
your thoughts @johnjamesjacoby ?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37923#comment:51>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list