Changeset 32733 for trunk/src/wp-signup.php
- Timestamp:
- 06/12/2015 05:47:16 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-signup.php
r30662 r32733 8 8 require( dirname( __FILE__ ) . '/wp-blog-header.php' ); 9 9 10 if ( is_array( get_site_option( 'illegal_names' )) && isset( $_GET[ 'new' ] ) && in_array( $_GET[ 'new' ], get_site_option( 'illegal_names' ) ) == true) {10 if ( is_array( get_site_option( 'illegal_names' )) && isset( $_GET[ 'new' ] ) && in_array( $_GET[ 'new' ], get_site_option( 'illegal_names' ) ) ) { 11 11 wp_redirect( network_home_url() ); 12 12 die(); … … 701 701 if ( is_user_logged_in() && ( $active_signup == 'all' || $active_signup == 'blog' ) ) 702 702 signup_another_blog($newblogname); 703 elseif ( is_user_logged_in() == false&& ( $active_signup == 'all' || $active_signup == 'user' ) )703 elseif ( ! is_user_logged_in() && ( $active_signup == 'all' || $active_signup == 'user' ) ) 704 704 signup_user( $newblogname, $user_email ); 705 elseif ( is_user_logged_in() == false&& ( $active_signup == 'blog' ) )705 elseif ( ! is_user_logged_in() && ( $active_signup == 'blog' ) ) 706 706 _e( 'Sorry, new registrations are not allowed at this time.' ); 707 707 else
Note: See TracChangeset
for help on using the changeset viewer.