Administration: Add missing filter documentation for Site Health auto update tests.

Props johnbillion, mukesh27.
Fixes #47388.
Built from https://develop.svn.wordpress.org/trunk@45459


git-svn-id: http://core.svn.wordpress.org/trunk@45270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
desrosj 2019-05-29 13:59:51 +00:00
parent d23160d427
commit bb3c264350
2 changed files with 5 additions and 1 deletions

View File

@ -143,6 +143,7 @@ class WP_Site_Health_Auto_Updates {
* @return array The test results. * @return array The test results.
*/ */
public function test_filters_automatic_updater_disabled() { public function test_filters_automatic_updater_disabled() {
/** This filter is documented in wp-admin/includes/class-wp-automatic-updater.php */
if ( apply_filters( 'automatic_updater_disabled', false ) ) { if ( apply_filters( 'automatic_updater_disabled', false ) ) {
return array( return array(
'description' => sprintf( 'description' => sprintf(
@ -239,6 +240,7 @@ class WP_Site_Health_Auto_Updates {
} }
} }
/** This filter is documented in wp-admin/includes/class-wp-automatic-updater.php */
if ( $checkout && ! apply_filters( 'automatic_updates_is_vcs_checkout', true, ABSPATH ) ) { if ( $checkout && ! apply_filters( 'automatic_updates_is_vcs_checkout', true, ABSPATH ) ) {
return array( return array(
'description' => sprintf( 'description' => sprintf(
@ -404,6 +406,7 @@ class WP_Site_Health_Auto_Updates {
); );
} }
/** This filter is documented in wp-admin/includes/class-core-upgrader.php */
if ( ! apply_filters( 'allow_dev_auto_core_updates', $wp_version ) ) { if ( ! apply_filters( 'allow_dev_auto_core_updates', $wp_version ) ) {
return array( return array(
'description' => sprintf( 'description' => sprintf(
@ -435,6 +438,7 @@ class WP_Site_Health_Auto_Updates {
); );
} }
/** This filter is documented in wp-admin/includes/class-core-upgrader.php */
if ( ! apply_filters( 'allow_minor_auto_core_updates', true ) ) { if ( ! apply_filters( 'allow_minor_auto_core_updates', true ) ) {
return array( return array(
'description' => sprintf( 'description' => sprintf(

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.3-alpha-45458'; $wp_version = '5.3-alpha-45459';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.