mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 09:07:59 +01:00
I18N: Remove HTML tags from translatable strings on WordPress Updates screen.
Follow-up to [49587]. Props fierevere. See #51742. Built from https://develop.svn.wordpress.org/trunk@49591 git-svn-id: http://core.svn.wordpress.org/trunk@49329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
845371edab
commit
d6a597efe2
@ -395,10 +395,10 @@ function core_auto_updates_settings() {
|
||||
|
||||
if ( $can_set_update_option ) {
|
||||
echo '<br>';
|
||||
echo sprintf(
|
||||
/* Translators: Action link to disable core auto-updates. */
|
||||
__( '<a href="%s">Switch to automatic updates for maintenance and security releases only.</a>' ),
|
||||
wp_nonce_url( add_query_arg( 'value', 'disable', $action_url ), 'core-major-auto-updates-nonce' )
|
||||
printf(
|
||||
'<a href="%s">%s</a>',
|
||||
wp_nonce_url( add_query_arg( 'value', 'disable', $action_url ), 'core-major-auto-updates-nonce' ),
|
||||
__( 'Switch to automatic updates for maintenance and security releases only.' )
|
||||
);
|
||||
}
|
||||
} elseif ( $upgrade_minor ) {
|
||||
@ -406,10 +406,10 @@ function core_auto_updates_settings() {
|
||||
|
||||
if ( $can_set_update_option ) {
|
||||
echo '<br>';
|
||||
echo sprintf(
|
||||
/* Translators: Action link to enable core auto-updates. */
|
||||
__( '<a href="%s">Enable automatic updates for all new versions of WordPress.</a>' ),
|
||||
wp_nonce_url( add_query_arg( 'value', 'enable', $action_url ), 'core-major-auto-updates-nonce' )
|
||||
printf(
|
||||
'<a href="%s">%s</a>',
|
||||
wp_nonce_url( add_query_arg( 'value', 'enable', $action_url ), 'core-major-auto-updates-nonce' ),
|
||||
__( 'Enable automatic updates for all new versions of WordPress.' )
|
||||
);
|
||||
}
|
||||
} else {
|
||||
|
@ -13,7 +13,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.6-beta4-49590';
|
||||
$wp_version = '5.6-beta4-49591';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user