Changeset 38736
- Timestamp:
- 10/06/2016 01:05:15 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/update-core.php
r38722 r38736 55 55 $show_buttons = true; 56 56 if ( 'development' == $update->response ) { 57 $message = __('You are using a development version of WordPress. You can update to the latest nightly build automatically or download the nightly build and install it manually:'); 58 $download = __('Download nightly build'); 57 $message = __('You are using a development version of WordPress. You can update to the latest nightly build automatically:'); 59 58 } else { 60 59 if ( $current ) { 61 $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 );60 $message = sprintf( __( 'If you need to re-install version %s, you can do so here:' ), $version_string ); 62 61 $submit = __('Re-install Now'); 63 62 $form_action = 'update-core.php?action=do-core-reinstall'; … … 76 75 $message = sprintf( __('You cannot update because <a href="https://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> requires MySQL version %2$s or higher. You are running version %3$s.'), $update->current, $update->mysql_version, $mysql_version ); 77 76 else 78 $message = sprintf(__('You can update to <a href="https://codex.wordpress.org/Version_%1$s">WordPress %2$s</a> automatically or download the package and install it manually:'), $update->current, $version_string);77 $message = sprintf(__('You can update to <a href="https://codex.wordpress.org/Version_%1$s">WordPress %2$s</a> automatically:'), $update->current, $version_string); 79 78 if ( !$mysql_compat || !$php_compat ) 80 79 $show_buttons = false; 81 80 } 82 $download = sprintf(__('Download %s'), $version_string);83 81 } 84 82 … … 98 96 submit_button( $submit, '', 'upgrade', false ); 99 97 } 100 echo ' <a href="' . esc_url( $update->download ) . '" class="button">' . $download . '</a> ';101 98 } 102 99 if ( 'en_US' != $update->locale )
Note: See TracChangeset
for help on using the changeset viewer.