Changeset 25820
- Timestamp:
- 10/16/2013 11:05:23 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/update-core.php
r25816 r25820 47 47 } else { 48 48 if ( $current ) { 49 $message = sprintf( __('You have the latest version of WordPress. You do not need to update. However, if you want to re-install version %s, you can do so automatically or download the package and re-install manually:'), $version_string);49 $message = sprintf( __( 'If you need to re-install version %s, you can do so here or download the package and re-install manually:' ), $version_string ); 50 50 $submit = __('Re-install Now'); 51 51 $form_action = 'update-core.php?action=do-core-reinstall'; … … 146 146 echo '<h3>'; 147 147 _e('You have the latest version of WordPress.'); 148 echo '</h3>';149 148 150 149 if ( wp_http_supports( 'ssl' ) ) { … … 158 157 $should_auto_update = WP_Automatic_Upgrader::should_auto_update( 'core', $future_minor_update, ABSPATH ); 159 158 if ( $should_auto_update ) 160 echo '<div class="updated inline"><p>✔ This site is set up to install security updates of WordPress automatically. Cool!</p></div>'; 161 } 159 echo ' ' . __( 'Future security updates will be applied automatically.' ); 160 } 161 echo '</h3>'; 162 162 } else { 163 163 echo '<div class="updated inline"><p>'; … … 184 184 } 185 185 echo '</ul>'; 186 if ( $updates ) { 186 // Don't show the maintenance mode notice when we are only showing a single re-install option. 187 if ( $updates && ( count( $updates ) > 1 || $updates[0]->response != 'latest' ) ) { 187 188 echo '<p>' . __( 'While your site is being updated, it will be in maintenance mode. As soon as your updates are complete, your site will return to normal.' ) . '</p>'; 188 } else {189 } elseif ( ! $updates ) { 189 190 list( $normalized_version ) = explode( '-', $wp_version ); 190 191 echo '<p>' . sprintf( __( '<a href="%s">Learn more about WordPress %s</a>.' ), esc_url( self_admin_url( 'about.php' ) ), $normalized_version ) . '</p>';
Note: See TracChangeset
for help on using the changeset viewer.