diff --git a/wp-includes/load.php b/wp-includes/load.php index 90318acddd..27c58b57dd 100644 --- a/wp-includes/load.php +++ b/wp-includes/load.php @@ -1798,6 +1798,8 @@ function wp_doing_cron() { * * @param mixed $thing The variable to check. * @return bool Whether the variable is an instance of WP_Error. + * + * @phpstan-assert-if-true WP_Error $thing */ function is_wp_error( $thing ) { $is_wp_error = ( $thing instanceof WP_Error ); diff --git a/wp-includes/version.php b/wp-includes/version.php index fa4eb99c80..5e1af336cb 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '7.0-beta2-61773'; +$wp_version = '7.0-beta2-61774'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.