Make WordPress Core

Ticket #38998: 38998.1.diff

File 38998.1.diff, 1.7 KB (added by Hareesh Pillai, 5 years ago)

Patch refreshed. Updated the 3 inline documentation comments as well.

  • src/wp-admin/includes/post.php

     
    10211021//
    10221022
    10231023/**
    1024  * Replace hrefs of attachment anchors with up-to-date permalinks.
     1024 * Replace hrefs of attachment anchors with up to date permalinks.
    10251025 *
    10261026 * @since 2.3.0
    10271027 * @access private
  • src/wp-admin/includes/upgrade.php

     
    630630
    631631                $wp_current_db_version = __get_option( 'db_version' );
    632632
    633                 // We are up-to-date. Nothing to do.
     633                // We are up to date. Nothing to do.
    634634                if ( $wp_db_version == $wp_current_db_version ) {
    635635                        return;
    636636                }
     
    687687        global $wp_current_db_version, $wp_db_version;
    688688        $wp_current_db_version = __get_option( 'db_version' );
    689689
    690         // We are up-to-date. Nothing to do.
     690        // We are up to date. Nothing to do.
    691691        if ( $wp_db_version == $wp_current_db_version ) {
    692692                return;
    693693        }
  • src/wp-admin/upgrade.php

     
    7373<?php if ( get_option( 'db_version' ) == $wp_db_version || ! is_blog_installed() ) : ?>
    7474
    7575<h1><?php _e( 'No Update Required' ); ?></h1>
    76 <p><?php _e( 'Your WordPress database is already up-to-date!' ); ?></p>
     76<p><?php _e( 'Your WordPress database is already up to date!' ); ?></p>
    7777<p class="step"><a class="button button-large" href="<?php echo get_option( 'home' ); ?>/"><?php _e( 'Continue' ); ?></a></p>
    7878
    7979        <?php