From 8312762816c144e19b75b3527637d21fff86f82e Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 22 Nov 2020 15:59:05 +0000 Subject: [PATCH] Docs: Update syntax for multi-line comment in `core_auto_updates_settings()` per the documentation standards. Follow-up to [49677]. See #51827. Built from https://develop.svn.wordpress.org/trunk@49681 git-svn-id: http://core.svn.wordpress.org/trunk@49404 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/update-core.php | 14 ++++++++------ wp-includes/version.php | 2 +- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/wp-admin/update-core.php b/wp-admin/update-core.php index c67ac9ace2..8521bfd9e4 100644 --- a/wp-admin/update-core.php +++ b/wp-admin/update-core.php @@ -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; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 3fcdfb6f1f..991653df02 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.7-alpha-49680'; +$wp_version = '5.7-alpha-49681'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.