Ticket #38998: 38998.1.diff
File 38998.1.diff, 1.7 KB (added by , 5 years ago) |
---|
-
src/wp-admin/includes/post.php
1021 1021 // 1022 1022 1023 1023 /** 1024 * Replace hrefs of attachment anchors with up -to-date permalinks.1024 * Replace hrefs of attachment anchors with up to date permalinks. 1025 1025 * 1026 1026 * @since 2.3.0 1027 1027 * @access private -
src/wp-admin/includes/upgrade.php
630 630 631 631 $wp_current_db_version = __get_option( 'db_version' ); 632 632 633 // We are up -to-date. Nothing to do.633 // We are up to date. Nothing to do. 634 634 if ( $wp_db_version == $wp_current_db_version ) { 635 635 return; 636 636 } … … 687 687 global $wp_current_db_version, $wp_db_version; 688 688 $wp_current_db_version = __get_option( 'db_version' ); 689 689 690 // We are up -to-date. Nothing to do.690 // We are up to date. Nothing to do. 691 691 if ( $wp_db_version == $wp_current_db_version ) { 692 692 return; 693 693 } -
src/wp-admin/upgrade.php
73 73 <?php if ( get_option( 'db_version' ) == $wp_db_version || ! is_blog_installed() ) : ?> 74 74 75 75 <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> 77 77 <p class="step"><a class="button button-large" href="<?php echo get_option( 'home' ); ?>/"><?php _e( 'Continue' ); ?></a></p> 78 78 79 79 <?php