diff --git a/wp-includes/load.php b/wp-includes/load.php index 7a79fc1a63..702459d601 100644 --- a/wp-includes/load.php +++ b/wp-includes/load.php @@ -1456,9 +1456,9 @@ function wp_doing_cron() { * @return bool Whether the variable is an instance of WP_Error. */ function is_wp_error( $thing ) { - $is = ( $thing instanceof WP_Error ); + $is_wp_error = ( $thing instanceof WP_Error ); - if ( $is ) { + if ( $is_wp_error ) { /** * Fires when `is_wp_error()` is called and it's an instance of `WP_Error`. * @@ -1469,7 +1469,7 @@ function is_wp_error( $thing ) { do_action( 'wp_error_checked', $thing ); } - return $is; + return $is_wp_error; } /** diff --git a/wp-includes/version.php b/wp-includes/version.php index f3e72b103e..f880bf1fc5 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.6-alpha-49022'; +$wp_version = '5.6-alpha-49023'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.