WordPress.org

Make WordPress Core

Changeset 49681


Ignore:
Timestamp:
11/22/2020 03:57:19 PM (5 days ago)
Author:
SergeyBiryukov
Message:

Docs: Update syntax for multi-line comment in core_auto_updates_settings() per the documentation standards.

Follow-up to [49677].

See #51827.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/update-core.php

    r49677 r49681  
    323323        }
    324324
    325         // The UI is overridden by the WP_AUTO_UPDATE_CORE constant.
     325        // The UI is overridden by the `WP_AUTO_UPDATE_CORE` constant.
    326326        $can_set_update_option = false;
    327327    }
     
    332332        $upgrade_major = false;
    333333
    334         // The UI is overridden by the AUTOMATIC_UPDATER_DISABLED constant
    335         // or the automatic_updater_disabled filter,
    336         // or by wp_is_file_mod_allowed( 'automatic_updater' ).
    337         // See WP_Automatic_Updater::is_disabled().
     334        /*
     335         * The UI is overridden by the `AUTOMATIC_UPDATER_DISABLED` constant
     336         * or the `automatic_updater_disabled` filter,
     337         * or by `wp_is_file_mod_allowed( 'automatic_updater' )`.
     338         * See `WP_Automatic_Updater::is_disabled()`.
     339         */
    338340        $can_set_update_option = false;
    339341    }
    340342
    341     // Is the UI overridden by a plugin using the allow_major_auto_core_updates filter?
     343    // Is the UI overridden by a plugin using the `allow_major_auto_core_updates` filter?
    342344    if ( has_filter( 'allow_major_auto_core_updates' ) ) {
    343345        $can_set_update_option = false;
Note: See TracChangeset for help on using the changeset viewer.