Make WordPress Core


Ignore:
Timestamp:
05/29/2019 01:58:33 PM (6 years ago)
Author:
desrosj
Message:

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

Props johnbillion, mukesh27.
Fixes #47388.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-site-health-auto-updates.php

    r45275 r45459  
    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(
     
    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(
     
    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(
     
    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(
Note: See TracChangeset for help on using the changeset viewer.