diff --git a/wp-includes/option.php b/wp-includes/option.php index 96ed00cb95..2cef038267 100644 --- a/wp-includes/option.php +++ b/wp-includes/option.php @@ -95,7 +95,7 @@ function get_option( $option, $default = false ) { 'comment_whitelist' => 'comment_previously_approved', ); - if ( ! wp_installing() && isset( $deprecated_keys[ $option ] ) ) { + if ( isset( $deprecated_keys[ $option ] ) && ! wp_installing() ) { _deprecated_argument( __FUNCTION__, '5.5.0', @@ -401,7 +401,7 @@ function update_option( $option, $value, $autoload = null ) { 'comment_whitelist' => 'comment_previously_approved', ); - if ( ! wp_installing() && isset( $deprecated_keys[ $option ] ) ) { + if ( isset( $deprecated_keys[ $option ] ) && ! wp_installing() ) { _deprecated_argument( __FUNCTION__, '5.5.0', @@ -591,7 +591,7 @@ function add_option( $option, $value = '', $deprecated = '', $autoload = 'yes' ) 'comment_whitelist' => 'comment_previously_approved', ); - if ( ! wp_installing() && isset( $deprecated_keys[ $option ] ) ) { + if ( isset( $deprecated_keys[ $option ] ) && ! wp_installing() ) { _deprecated_argument( __FUNCTION__, '5.5.0', diff --git a/wp-includes/version.php b/wp-includes/version.php index 72e643eee6..e8650ae81e 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-53913'; +$wp_version = '6.1-alpha-53914'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.