WordPress.org

Make WordPress Core

Ticket #47388: 47388.diff

File 47388.diff, 1.5 KB (added by mukesh27, 9 months ago)

Patch.

  • wp-admin/includes/class-wp-site-health-auto-updates.php

    diff --git a/wp-admin/includes/class-wp-site-health-auto-updates.php b/wp-admin/includes/class-wp-site-health-auto-updates.php
    index b202235f12..8893aabd86 100644
    a b class WP_Site_Health_Auto_Updates { 
    143143         * @return array The test results.
    144144         */
    145145        public function test_filters_automatic_updater_disabled() {
     146                /** This filter is documented in wp-admin/includes/class-wp-automatic-updater.php */
    146147                if ( apply_filters( 'automatic_updater_disabled', false ) ) {
    147148                        return array(
    148149                                'description' => sprintf(
    class WP_Site_Health_Auto_Updates { 
    239240                        }
    240241                }
    241242
     243                /** This filter is documented in wp-admin/includes/class-wp-automatic-updater.php */
    242244                if ( $checkout && ! apply_filters( 'automatic_updates_is_vcs_checkout', true, ABSPATH ) ) {
    243245                        return array(
    244246                                'description' => sprintf(
    class WP_Site_Health_Auto_Updates { 
    404406                        );
    405407                }
    406408
     409                /** This filter is documented in wp-admin/includes/class-core-upgrader.php */
    407410                if ( ! apply_filters( 'allow_dev_auto_core_updates', $wp_version ) ) {
    408411                        return array(
    409412                                'description' => sprintf(
    class WP_Site_Health_Auto_Updates { 
    435438                        );
    436439                }
    437440
     441                /** This filter is documented in wp-admin/includes/class-core-upgrader.php */
    438442                if ( ! apply_filters( 'allow_minor_auto_core_updates', true ) ) {
    439443                        return array(
    440444                                'description' => sprintf(