Changeset 49591
- Timestamp:
- 11/13/2020 10:48:24 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/update-core.php
r49587 r49591 396 396 if ( $can_set_update_option ) { 397 397 echo '<br>'; 398 echo sprintf(399 /* Translators: Action link to disable core auto-updates. */400 __( '<a href="%s">Switch to automatic updates for maintenance and security releases only.</a>' ),401 wp_nonce_url( add_query_arg( 'value', 'disable', $action_url ), 'core-major-auto-updates-nonce' )398 printf( 399 '<a href="%s">%s</a>', 400 wp_nonce_url( add_query_arg( 'value', 'disable', $action_url ), 'core-major-auto-updates-nonce' ), 401 __( 'Switch to automatic updates for maintenance and security releases only.' ) 402 402 ); 403 403 } … … 407 407 if ( $can_set_update_option ) { 408 408 echo '<br>'; 409 echo sprintf(410 /* Translators: Action link to enable core auto-updates. */411 __( '<a href="%s">Enable automatic updates for all new versions of WordPress.</a>' ),412 wp_nonce_url( add_query_arg( 'value', 'enable', $action_url ), 'core-major-auto-updates-nonce' )409 printf( 410 '<a href="%s">%s</a>', 411 wp_nonce_url( add_query_arg( 'value', 'enable', $action_url ), 'core-major-auto-updates-nonce' ), 412 __( 'Enable automatic updates for all new versions of WordPress.' ) 413 413 ); 414 414 }
Note: See TracChangeset
for help on using the changeset viewer.