From ff74a4cb7bc18c32abd5f342f54d6074b0be2991 Mon Sep 17 00:00:00 2001 From: Felix Arntz Date: Tue, 24 Jan 2017 11:08:42 +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. Built from https://develop.svn.wordpress.org/trunk@39944 git-svn-id: http://core.svn.wordpress.org/trunk@39881 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/version.php | 2 +- wp-signup.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/version.php b/wp-includes/version.php index c48bf3d048..c54e76768a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.8-alpha-39943'; +$wp_version = '4.8-alpha-39944'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-signup.php b/wp-signup.php index 89230ff793..156de61d57 100644 --- a/wp-signup.php +++ b/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 ' ';