diff --git src/wp-admin/update-core.php src/wp-admin/update-core.php
index 38c30d4..4788250 100644
|
|
function list_core_update( $update ) { |
53 | 53 | $mysql_version = $wpdb->db_version(); |
54 | 54 | $show_buttons = true; |
55 | 55 | if ( 'development' == $update->response ) { |
56 | | $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:'); |
57 | | $download = __('Download nightly build'); |
| 56 | $message = __('You are using a development version of WordPress. You can update to the latest nightly build automatically:'); |
58 | 57 | } else { |
59 | 58 | if ( $current ) { |
60 | | $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 ); |
| 59 | $message = sprintf( __( 'If you need to re-install version %s, you can do so here:' ), $version_string ); |
61 | 60 | $submit = __('Re-install Now'); |
62 | 61 | $form_action = 'update-core.php?action=do-core-reinstall'; |
63 | 62 | } else { |
… |
… |
function list_core_update( $update ) { |
74 | 73 | elseif ( !$mysql_compat ) |
75 | 74 | $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 ); |
76 | 75 | else |
77 | | $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); |
| 76 | $message = sprintf(__('You can update to <a href="https://codex.wordpress.org/Version_%1$s">WordPress %2$s</a> automatically:'), $update->current, $version_string); |
78 | 77 | if ( !$mysql_compat || !$php_compat ) |
79 | 78 | $show_buttons = false; |
80 | 79 | } |
81 | | $download = sprintf(__('Download %s'), $version_string); |
82 | 80 | } |
83 | 81 | |
84 | 82 | echo '<p>'; |
… |
… |
function list_core_update( $update ) { |
96 | 94 | } else { |
97 | 95 | submit_button( $submit, 'button', 'upgrade', false ); |
98 | 96 | } |
99 | | echo ' <a href="' . esc_url( $update->download ) . '" class="button">' . $download . '</a> '; |
100 | 97 | } |
101 | 98 | if ( 'en_US' != $update->locale ) |
102 | 99 | if ( !isset( $update->dismissed ) || !$update->dismissed ) |