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

Follow-up to [49677].

See #51827.

git-svn-id: https://develop.svn.wordpress.org/trunk@49681 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2020-11-22 15:57:19 +00:00
parent 8d7651fde1
commit 31315dd401

View File

@@ -322,7 +322,7 @@ function core_auto_updates_settings() {
$upgrade_major = false;
}
// The UI is overridden by the WP_AUTO_UPDATE_CORE constant.
// The UI is overridden by the `WP_AUTO_UPDATE_CORE` constant.
$can_set_update_option = false;
}
@@ -331,14 +331,16 @@ function core_auto_updates_settings() {
$upgrade_minor = false;
$upgrade_major = false;
// The UI is overridden by the AUTOMATIC_UPDATER_DISABLED constant
// or the automatic_updater_disabled filter,
// or by wp_is_file_mod_allowed( 'automatic_updater' ).
// See WP_Automatic_Updater::is_disabled().
/*
* The UI is overridden by the `AUTOMATIC_UPDATER_DISABLED` constant
* or the `automatic_updater_disabled` filter,
* or by `wp_is_file_mod_allowed( 'automatic_updater' )`.
* See `WP_Automatic_Updater::is_disabled()`.
*/
$can_set_update_option = false;
}
// Is the UI overridden by a plugin using the allow_major_auto_core_updates filter?
// Is the UI overridden by a plugin using the `allow_major_auto_core_updates` filter?
if ( has_filter( 'allow_major_auto_core_updates' ) ) {
$can_set_update_option = false;
}