Administration: Add missing filter documentation for Site Health auto update tests.
Props johnbillion, mukesh27. Fixes #47388. git-svn-id: https://develop.svn.wordpress.org/trunk@45459 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3337e709ee
commit
1b4d29ab71
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user