Make WordPress Core

Opened 7 years ago

Last modified 7 years ago

#41771 new enhancement

Global configuration table

Reported by: spacedmonkey's profile spacedmonkey Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.9
Component: Networks and Sites Keywords: needs-patch needs-unit-tests
Focuses: multisite Cc:

Description

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

Change History (2)

This ticket was mentioned in Slack in #core-multisite by spacedmonkey. View the logs.


7 years ago

This ticket was mentioned in Slack in #core-multisite by spacedmonkey. View the logs.


7 years ago

Note: See TracTickets for help on using tickets.