X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/f5fcdc7994bb67cce809bc4777944ae8b7fad4a4..53f4633144ed68c8b8fb5861f992b5489894a940:/wp-includes/ms-deprecated.php diff --git a/wp-includes/ms-deprecated.php b/wp-includes/ms-deprecated.php index beae326f..5b670209 100644 --- a/wp-includes/ms-deprecated.php +++ b/wp-includes/ms-deprecated.php @@ -210,7 +210,7 @@ function get_most_active_blogs( $num = 10, $display = true ) { $most_active = $t; } - if ( $display == true ) { + if ( $display ) { if ( is_array( $most_active ) ) { reset( $most_active ); foreach ( (array) $most_active as $key => $details ) { @@ -253,7 +253,7 @@ function wpmu_admin_do_redirect( $url = '' ) { wp_redirect( $ref ); exit(); } - if ( empty( $_SERVER['HTTP_REFERER'] ) == false ) { + if ( ! empty( $_SERVER['HTTP_REFERER'] ) ) { wp_redirect( $_SERVER['HTTP_REFERER'] ); exit(); }