diff --git a/wp-includes/pluggable.php b/wp-includes/pluggable.php index fb44dc35d5..3b81242f4d 100644 --- a/wp-includes/pluggable.php +++ b/wp-includes/pluggable.php @@ -1251,7 +1251,7 @@ if ( ! function_exists( 'wp_redirect' ) ) : return false; } - if ( 300 > $status || 399 < $status ) { + if ( $status < 300 || 399 < $status ) { wp_die( __( 'HTTP redirect status code must be a redirection code, 3xx.' ) ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index cc37ac8da2..05793da085 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.4-alpha-46648'; +$wp_version = '5.4-alpha-46649'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.