[wp-trac] [WordPress Trac] #37923: Introduce shared wp_blogmeta database table for multisite installation
WordPress Trac
noreply at wordpress.org
Wed Aug 23 12:32:27 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.7.diff
37923.7.diff]
Key features
- Added back in missing `is_site_meta_supported` function.
- Wraps delete site meta in site delete in is_site_meta_supported
conditional.
Regarding feedback.
- Saving the value in popular network, stops the need for it checking in
the bootstrap process.
- `is_site_meta_supported` is designed to lazy detect if table exists. The
first to access that function will populate the value and the response is
cached in network options forever more.
I still think it much better to have the setting on each network. It means
you can disable site meta per network, which something you might want to
do if are lots of networks, such as WordPress.com.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37923#comment:53>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list