WordPress/wp-admin/network
Felix Arntz 00e8704288 Multisite: Introduce a `setup_network` capability for setting up multisite.
`setup_network` is a new meta capability that brings more granular control over the permissions to setup a multisite environment. In a non-multisite environment it falls back to `manage_options` while in a multisite it falls back to `manage_network_options`. The introduction of this capability furthermore allows replacing an `is_super_admin()` check.

Props ashokkumar24 for the original patch.
Fixes #39206. See #37616.

Built from https://develop.svn.wordpress.org/trunk@40390


git-svn-id: http://core.svn.wordpress.org/trunk@40297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-04-07 12:53:45 +00:00
..
about.php Multisite: Remove redundant `is_multisite()` checks in network admin templates. 2016-09-27 15:39:29 +00:00
admin.php Multisite: Remove redundant `is_multisite()` checks in network admin templates. 2016-09-27 15:39:29 +00:00
credits.php Multisite: Remove redundant `is_multisite()` checks in network admin templates. 2016-09-27 15:39:29 +00:00
edit.php Multisite: Remove redundant `is_multisite()` checks in network admin templates. 2016-09-27 15:39:29 +00:00
freedoms.php Multisite: Remove redundant `is_multisite()` checks in network admin templates. 2016-09-27 15:39:29 +00:00
index.php Accessibility: Remove target=_blank from the Network screens help tabs links. 2016-10-04 07:03:31 +00:00
menu.php Multisite: Introduce a `setup_network` capability for setting up multisite. 2017-04-07 12:53:45 +00:00
plugin-editor.php Multisite: Remove redundant `is_multisite()` checks in network admin templates. 2016-09-27 15:39:29 +00:00
plugin-install.php Multisite: Remove redundant `is_multisite()` checks in network admin templates. 2016-09-27 15:39:29 +00:00
plugins.php Multisite: Remove redundant `is_multisite()` checks in network admin templates. 2016-09-27 15:39:29 +00:00
profile.php Multisite: Remove redundant `is_multisite()` checks in network admin templates. 2016-09-27 15:39:29 +00:00
settings.php Multisite: Use `get_network()` and `get_current_network_id()` for current network data. 2016-10-19 04:47:30 +00:00
setup.php Multisite: Remove redundant `is_multisite()` checks in network admin templates. 2016-09-27 15:39:29 +00:00
site-info.php Multisite: Display correct scheme for the main site in `site-info.php`. 2017-01-20 17:03:41 +00:00
site-new.php Multisite: Use `get_network()` and `get_current_network_id()` for current network data. 2016-10-19 04:47:30 +00:00
site-settings.php Multisite: Replace `get_blog_details()` with `get_site()` in network admin screens. 2016-10-19 06:08:28 +00:00
site-themes.php General: Use interpolation instead of concatenation for all dynamic hook names. 2016-12-14 04:18:42 +00:00
site-users.php Administration: Switch to `handle_network_bulk_actions-{$screen}` for the bulk listing screen actions in the network admin area. 2016-10-26 14:37:29 +00:00
sites.php Accessibility: Remove inappropriate content from the Network screens headings. 2016-12-09 18:57:42 +00:00
theme-editor.php Multisite: Remove redundant `is_multisite()` checks in network admin templates. 2016-09-27 15:39:29 +00:00
theme-install.php Multisite: Remove redundant `is_multisite()` checks in network admin templates. 2016-09-27 15:39:29 +00:00
themes.php Accessibility: Remove inappropriate content from the Network screens headings. 2016-12-09 18:57:42 +00:00
update-core.php Multisite: Remove redundant `is_multisite()` checks in network admin templates. 2016-09-27 15:39:29 +00:00
update.php Multisite: Remove redundant `is_multisite()` checks in network admin templates. 2016-09-27 15:39:29 +00:00
upgrade.php Multisite: Use correct types in `get_sites()` during network upgrade. 2016-10-19 05:11:28 +00:00
user-edit.php Multisite: Remove redundant `is_multisite()` checks in network admin templates. 2016-09-27 15:39:29 +00:00
user-new.php Accessibility: Remove target=_blank from the Network screens help tabs links. 2016-10-04 07:03:31 +00:00
users.php Accessibility: Remove inappropriate content from the Network screens headings. 2016-12-09 18:57:42 +00:00