Skip to content

Commit 8bf00cc

Browse files
committed
Multisite: Replace is_super_admin() with manage_network when showing a message to the network administrator in wp-signup.php.
Props jignesh.nakrani. Fixes #39209. See #37616. git-svn-id: https://develop.svn.wordpress.org/trunk@39944 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 816686b commit 8bf00cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wp-signup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@ function signup_get_available_languages() {
816816
*/
817817
$active_signup = apply_filters( 'wpmu_active_signup', $active_signup );
818818

819-
if ( is_super_admin() ) {
819+
if ( current_user_can( 'manage_network' ) ) {
820820
echo '<div class="mu_alert">';
821821
_e( 'Greetings Network Administrator!' );
822822
echo ' ';

0 commit comments

Comments
 (0)