From 8bf00cceaff8a20e12c68f4fcf6432c293a67c50 Mon Sep 17 00:00:00 2001 From: Felix Arntz Date: Tue, 24 Jan 2017 11:07:15 +0000 Subject: [PATCH] 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 --- src/wp-signup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-signup.php b/src/wp-signup.php index 89230ff793..156de61d57 100644 --- a/src/wp-signup.php +++ b/src/wp-signup.php @@ -816,7 +816,7 @@ $active_signup = get_site_option( 'registration', 'none' ); */ $active_signup = apply_filters( 'wpmu_active_signup', $active_signup ); -if ( is_super_admin() ) { +if ( current_user_can( 'manage_network' ) ) { echo '
'; _e( 'Greetings Network Administrator!' ); echo ' ';