Prior to this change, a mix of `is_super_admin()` calls and `manage_network` capability checks was used to determine whether the current user could upgrade the network. With this changeset a dedicated capability is introduced that allows more granular handling. Props dhanendran for the original patch. Fixes #39205. See #37616. Built from https://develop.svn.wordpress.org/trunk@40404 git-svn-id: http://core.svn.wordpress.org/trunk@40311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
4.0 KiB
4.0 KiB