From ecf8e59918c51b102bff4dac269391e6e08c418a Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 21 Oct 2020 14:55:09 +0000 Subject: [PATCH] Docs: Add a `@since` note about `async_direct_test` key to the `site_status_tests` filter. Follow-up to [49232]. See #51547. Built from https://develop.svn.wordpress.org/trunk@49266 git-svn-id: http://core.svn.wordpress.org/trunk@49028 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-site-health.php | 15 ++++++++------- wp-includes/version.php | 2 +- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/wp-admin/includes/class-wp-site-health.php b/wp-admin/includes/class-wp-site-health.php index e036113837..2e556f40a8 100644 --- a/wp-admin/includes/class-wp-site-health.php +++ b/wp-admin/includes/class-wp-site-health.php @@ -2202,6 +2202,7 @@ class WP_Site_Health { * to complete should run asynchronously, to avoid extended loading periods within wp-admin. * * @since 5.2.0 + * @since 5.6.0 Added the `async_direct_test` array key. * * @param array $test_type { * An associative array, where the `$test_type` is either `direct` or @@ -2212,13 +2213,13 @@ class WP_Site_Health { * Plugins and themes are encouraged to prefix test identifiers with their slug * to avoid any collisions between tests. * - * @type string $label A friendly label for your test to identify it by. - * @type mixed $test A callable to perform a direct test, or a string AJAX action to be - * called to perform an async test. - * @type boolean $has_rest Optional. Denote if `$test` has a REST API endpoint. - * @type callable $async_direct_test A manner of directly calling the test marked as asynchronous, as - * the scheduled event can not authenticate, and endpoints may require - * authentication. + * @type string $label A friendly label for your test to identify it by. + * @type mixed $test A callable to perform a direct test, or a string AJAX action + * to be called to perform an async test. + * @type boolean $has_rest Optional. Denote if `$test` has a REST API endpoint. + * @type callable $async_direct_test A manner of directly calling the test marked as asynchronous, + * as the scheduled event can not authenticate, and endpoints + * may require authentication. * } * } */ diff --git a/wp-includes/version.php b/wp-includes/version.php index 041b30fd7c..2720606834 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.6-beta1-49265'; +$wp_version = '5.6-beta1-49266'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.