]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-includes/ms-deprecated.php
WordPress 4.3
[autoinstalls/wordpress.git] / wp-includes / ms-deprecated.php
index beae326fe141b090d157332caeae6dec44e37f5d..5b6702090bf2d91ec893007b298139415ccd1add 100644 (file)
@@ -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();
        }