diff --git a/src/wp-admin/update-core.php b/src/wp-admin/update-core.php
index 5a4a8d369f..17e487f2eb 100644
|
a
|
b
|
function list_core_update( $update ) { |
| 62 | 62 | $show_buttons = true; |
| 63 | 63 | |
| 64 | 64 | if ( 'development' === $update->response ) { |
| 65 | | $message = __( 'You are using a development version of WordPress. You can update to the latest nightly build manually:' ); |
| | 65 | $message = __( 'You can update to the latest nightly build manually:' ); |
| 66 | 66 | } else { |
| 67 | 67 | if ( $current ) { |
| 68 | 68 | /* translators: %s: WordPress version. */ |
| … |
… |
function core_upgrade_preamble() { |
| 278 | 278 | } |
| 279 | 279 | } |
| 280 | 280 | |
| | 281 | echo '<h2>' . __( 'You are using a development version of WordPress' ) . '</h2>'; |
| 281 | 282 | echo '<ul class="core-updates">'; |
| 282 | 283 | foreach ( (array) $updates as $update ) { |
| 283 | 284 | echo '<li>'; |
| … |
… |
function core_auto_updates_settings() { |
| 401 | 402 | if ( $can_set_update_option ) { |
| 402 | 403 | echo '<br>'; |
| 403 | 404 | printf( |
| 404 | | '<a href="%s">%s</a>', |
| | 405 | '<a href="%s" class="core-auto-update-settings-link core-auto-update-settings-link-disable">%s</a>', |
| 405 | 406 | wp_nonce_url( add_query_arg( 'value', 'disable', $action_url ), 'core-major-auto-updates-nonce' ), |
| 406 | 407 | __( 'Switch to automatic updates for maintenance and security releases only.' ) |
| 407 | 408 | ); |
| 408 | 409 | } |
| 409 | 410 | } elseif ( $upgrade_minor ) { |
| 410 | | _e( 'This site is automatically kept up to date with maintenance and security releases of WordPress.' ); |
| | 411 | _e( 'This site is only automatically kept up to date with maintenance and security releases of WordPress.' ); |
| 411 | 412 | |
| 412 | 413 | if ( $can_set_update_option ) { |
| 413 | 414 | echo '<br>'; |
| 414 | 415 | printf( |
| 415 | | '<a href="%s">%s</a>', |
| | 416 | '<a href="%s" class="core-auto-update-settings-link core-auto-update-settings-link-enable">%s</a>', |
| 416 | 417 | wp_nonce_url( add_query_arg( 'value', 'enable', $action_url ), 'core-major-auto-updates-nonce' ), |
| 417 | 418 | __( 'Enable automatic updates for all new versions of WordPress.' ) |
| 418 | 419 | ); |