WordPress/wp-admin/network
Jeremy Felt 1560fbcbc5 Multisite: Use `get_network()` and `get_current_network_id()` for current network data.
`get_network()` falls back to the current network when called without any arguments. Between this and `get_current_network_id()`, we can replace almost all instances of the global `$current_site` and all instances of `get_current_site()`.

This effectively deprecates `get_current_site()`, something that we'll do in a future ticket.

Props flixos90.
Fixes #37414.

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


git-svn-id: http://core.svn.wordpress.org/trunk@38757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-19 04:47:30 +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: Use the admin-multisite Dashicon for sites 2016-05-05 17:13:26 +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 Accessibility: Remove target=_blank from the Network screens help tabs links. 2016-10-04 07:03:31 +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 Accessibility: Remove target=_blank from the Network screens help tabs links. 2016-10-04 07:03:31 +00:00
site-themes.php Accessibility: Remove target=_blank from the Network screens help tabs links. 2016-10-04 07:03:31 +00:00
site-users.php Accessibility: Remove target=_blank from the Network screens help tabs links. 2016-10-04 07:03:31 +00:00
sites.php Multisite: Use `get_network()` and `get_current_network_id()` for current network data. 2016-10-19 04:47:30 +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 target=_blank from the Network screens help tabs links. 2016-10-04 07:03:31 +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 Accessibility: Remove target=_blank from the Network screens help tabs links. 2016-10-04 07:03:31 +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 Multisite: Use `get_network()` and `get_current_network_id()` for current network data. 2016-10-19 04:47:30 +00:00