WordPress.org

Make WordPress Core

Changeset 39944


Ignore:
Timestamp:
01/24/17 11:07:15 (3 months ago)
Author:
flixos90
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-signup.php

    r39929 r39944  
    817817$active_signup = apply_filters( 'wpmu_active_signup', $active_signup ); 
    818818 
    819 if ( is_super_admin() ) { 
     819if ( current_user_can( 'manage_network' ) ) { 
    820820    echo '<div class="mu_alert">'; 
    821821    _e( 'Greetings Network Administrator!' ); 
Note: See TracChangeset for help on using the changeset viewer.