From 0dadbcab6bdbc3039b9946e6fad1cbaaaac80c84 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 4 Jul 2021 10:06:57 +0000 Subject: [PATCH] Docs: Correct description for the `upgrader_pre_install` filter. Props ilovecats7. Fixes #53546. Built from https://develop.svn.wordpress.org/trunk@51329 git-svn-id: http://core.svn.wordpress.org/trunk@50938 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-upgrader.php | 5 ++--- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/wp-admin/includes/class-wp-upgrader.php b/wp-admin/includes/class-wp-upgrader.php index e456191dae..0385eae576 100644 --- a/wp-admin/includes/class-wp-upgrader.php +++ b/wp-admin/includes/class-wp-upgrader.php @@ -478,9 +478,8 @@ class WP_Upgrader { /** * Filters the install response before the installation has started. * - * Returning a truthy value, or one that could be evaluated as a WP_Error - * will effectively short-circuit the installation, returning that value - * instead. + * Returning a value that could be evaluated as a `WP_Error` will effectively + * short-circuit the installation, returning that value instead. * * @since 2.8.0 * diff --git a/wp-includes/version.php b/wp-includes/version.php index 49189329be..7e9b593bc3 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-alpha-51328'; +$wp_version = '5.9-alpha-51329'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.