Docs: Correct instances of “auto update” with “auto-update” for consistency.

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
This commit is contained in:
desrosj 2020-07-06 19:15:03 +00:00
parent ef0881750c
commit 77af0e5982
5 changed files with 6 additions and 6 deletions

View File

@ -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 );

View File

@ -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' );

View File

@ -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' );
}

View File

@ -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
*/

View File

@ -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.