From 77af0e5982e7094f4b8f7f46f47b61f2b99760b8 Mon Sep 17 00:00:00 2001 From: desrosj Date: Mon, 6 Jul 2020 19:15:03 +0000 Subject: [PATCH] =?UTF-8?q?Docs:=20Correct=20instances=20of=20=E2=80=9Caut?= =?UTF-8?q?o=20update=E2=80=9D=20with=20=E2=80=9Cauto-update=E2=80=9D=20fo?= =?UTF-8?q?r=20consistency.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See #49572. Built from https://develop.svn.wordpress.org/trunk@48344 git-svn-id: http://core.svn.wordpress.org/trunk@48113 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-automatic-updater.php | 2 +- wp-admin/includes/class-wp-site-health-auto-updates.php | 4 ++-- wp-admin/includes/update-core.php | 2 +- wp-includes/update.php | 2 +- wp-includes/version.php | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/wp-admin/includes/class-wp-automatic-updater.php b/wp-admin/includes/class-wp-automatic-updater.php index f9020f7a3b..b5b47f06c5 100644 --- a/wp-admin/includes/class-wp-automatic-updater.php +++ b/wp-admin/includes/class-wp-automatic-updater.php @@ -683,7 +683,7 @@ class WP_Automatic_Updater { return; } - // If the auto update is not to the latest version, say that the current version of WP is available instead. + // If the auto-update is not to the latest version, say that the current version of WP is available instead. $version = 'success' === $type ? $core_update->current : $next_user_core_update->current; $subject = sprintf( $subject, wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES ), $version ); 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 d5bb241d04..fb10098833 100644 --- a/wp-admin/includes/class-wp-site-health-auto-updates.php +++ b/wp-admin/includes/class-wp-site-health-auto-updates.php @@ -162,7 +162,7 @@ class WP_Site_Health_Auto_Updates { * * @since 5.3.0 * - * @return array|bool The test results. False if auto updates are enabled. + * @return array|bool The test results. False if auto-updates are enabled. */ public function test_wp_automatic_updates_disabled() { if ( ! class_exists( 'WP_Automatic_Updater' ) ) { @@ -186,7 +186,7 @@ class WP_Site_Health_Auto_Updates { * * @since 5.2.0 * - * @return array|bool The test results. False if the auto updates failed. + * @return array|bool The test results. False if the auto-updates failed. */ function test_if_failed_update() { $failed = get_site_option( 'auto_core_update_failed' ); diff --git a/wp-admin/includes/update-core.php b/wp-admin/includes/update-core.php index 731ddbc511..aa5ee5dcd1 100644 --- a/wp-admin/includes/update-core.php +++ b/wp-admin/includes/update-core.php @@ -1310,7 +1310,7 @@ function update_core( $from, $to ) { */ do_action( '_core_updated_successfully', $wp_version ); - // Clear the option that blocks auto updates after failures, now that we've been successful. + // Clear the option that blocks auto-updates after failures, now that we've been successful. if ( function_exists( 'delete_site_option' ) ) { delete_site_option( 'auto_core_update_failed' ); } diff --git a/wp-includes/update.php b/wp-includes/update.php index 46e6431487..111d57ae5d 100644 --- a/wp-includes/update.php +++ b/wp-includes/update.php @@ -242,7 +242,7 @@ function wp_version_check( $extra_stats = array(), $force_check = false ) { // Trigger background updates if running non-interactively, and we weren't called from the update handler. if ( $doing_cron && ! doing_action( 'wp_maybe_auto_update' ) ) { /** - * Fires during wp_cron, starting the auto update process. + * Fires during wp_cron, starting the auto-update process. * * @since 3.9.0 */ diff --git a/wp-includes/version.php b/wp-includes/version.php index bce0400836..dc2e0b8519 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-alpha-48343'; +$wp_version = '5.5-alpha-48344'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.