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:
parent
d23160d427
commit
bb3c264350
|
@ -143,6 +143,7 @@ class WP_Site_Health_Auto_Updates {
|
|||
* @return array The test results.
|
||||
*/
|
||||
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 ) ) {
|
||||
return array(
|
||||
'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 ) ) {
|
||||
return array(
|
||||
'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 ) ) {
|
||||
return array(
|
||||
'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 ) ) {
|
||||
return array(
|
||||
'description' => sprintf(
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @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.
|
||||
|
|
Loading…
Reference in New Issue