[wp-trac] [WordPress Trac] #41771: Global configuration table

WordPress Trac noreply at wordpress.org
Thu Aug 31 22:19:52 UTC 2017


#41771: Global configuration table
--------------------------------+------------------------------------------
 Reporter:  spacedmonkey        |      Owner:
     Type:  enhancement         |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Networks and Sites  |    Version:  trunk
 Severity:  normal              |   Keywords:  needs-patch needs-unit-tests
  Focuses:  multisite           |
--------------------------------+------------------------------------------
 In multisite, there is no way to have settings or configuration what goes
 applies to all networks. There are network level settings (Network
 options) and site levels settings (Options) but nothing global.

 In #37923 the need for global configuration arose, as storing data the
 network level ends up with the same data in every network. Also having a
 global config table, would help rid ourselves of our dependence on PHP
 defines for configuration. If this config table was installed on single
 site as well, the following defines, could be moved the config table.

 - MULTISITE
 - SUBDOMAIN_INSTALL
 - WP_CACHE
 - FORCE_SSL_ADMIN
 - WP_DEFAULT_THEME

 This could make the process of installing multisite, much easier.
 A number of feature flag that are currently store in options / network
 options could be moved to the global store. Features such as.

 - link_manager - enabled / disabled
 - global_terms - enabled / disabled
 - use blog_versions - enabled / disabled
 - site meta - enabled / disabled
 - ms_files_rewriting - enabled / disabled

 This global table could also store multi network wide settings such as

 - Global super admin
 - Global user roles
 - Global plugins (Not mu plugins)
 - Global database version
 - Default Language

--
Ticket URL: <https://core.trac.wordpress.org/ticket/41771>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list