Make WordPress Core

Changeset 12672 for trunk/wp-signup.php


Ignore:
Timestamp:
01/08/2010 08:29:56 PM (15 years ago)
Author:
ryan
Message:

Use is_super_admin() instead of is_site_admin(). Props GIGALinux see #11644

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-signup.php

    r12628 r12672  
    375375$active_signup = apply_filters( 'wpmu_active_signup', $active_signup ); // return "all", "none", "blog" or "user"
    376376
    377 if( is_site_admin() )
     377if( is_super_admin() )
    378378    echo '<div class="mu_alert">' . sprintf( __( "Greetings Site Administrator! You are currently allowing '%s' registrations. To change or disable registration go to your <a href='wp-admin/ms-options.php'>Options page</a>." ), $active_signup ) . '</div>';
    379379
Note: See TracChangeset for help on using the changeset viewer.