Make WordPress Core

Changeset 48344


Ignore:
Timestamp:
07/06/2020 07:13:26 PM (5 years ago)
Author:
desrosj
Message:

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

See #49572.

Location:
trunk/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-automatic-updater.php

    r48123 r48344  
    684684        }
    685685
    686         // If the auto update is not to the latest version, say that the current version of WP is available instead.
     686        // If the auto-update is not to the latest version, say that the current version of WP is available instead.
    687687        $version = 'success' === $type ? $core_update->current : $next_user_core_update->current;
    688688        $subject = sprintf( $subject, wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES ), $version );
  • trunk/src/wp-admin/includes/class-wp-site-health-auto-updates.php

    r47841 r48344  
    163163     * @since 5.3.0
    164164     *
    165      * @return array|bool The test results. False if auto updates are enabled.
     165     * @return array|bool The test results. False if auto-updates are enabled.
    166166     */
    167167    public function test_wp_automatic_updates_disabled() {
     
    187187     * @since 5.2.0
    188188     *
    189      * @return array|bool The test results. False if the auto updates failed.
     189     * @return array|bool The test results. False if the auto-updates failed.
    190190     */
    191191    function test_if_failed_update() {
  • trunk/src/wp-admin/includes/update-core.php

    r48172 r48344  
    13111311    do_action( '_core_updated_successfully', $wp_version );
    13121312
    1313     // Clear the option that blocks auto updates after failures, now that we've been successful.
     1313    // Clear the option that blocks auto-updates after failures, now that we've been successful.
    13141314    if ( function_exists( 'delete_site_option' ) ) {
    13151315        delete_site_option( 'auto_core_update_failed' );
  • trunk/src/wp-includes/update.php

    r48183 r48344  
    243243    if ( $doing_cron && ! doing_action( 'wp_maybe_auto_update' ) ) {
    244244        /**
    245          * Fires during wp_cron, starting the auto update process.
     245         * Fires during wp_cron, starting the auto-update process.
    246246         *
    247247         * @since 3.9.0
Note: See TracChangeset for help on using the changeset viewer.