I18N: Remove `<a>` tag from translatable string in `wp-admin/options-general.php`.

Add translator comment.

Props ramiy.
Fixes #35673.
Built from https://develop.svn.wordpress.org/trunk@36656


git-svn-id: http://core.svn.wordpress.org/trunk@36623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2016-02-23 23:28:25 +00:00
parent a7008072db
commit 5ca5900587
2 changed files with 10 additions and 5 deletions

View File

@ -105,10 +105,15 @@ $new_admin_email = get_option( 'new_admin_email' );
if ( $new_admin_email && $new_admin_email != get_option('admin_email') ) : ?> if ( $new_admin_email && $new_admin_email != get_option('admin_email') ) : ?>
<div class="updated inline"> <div class="updated inline">
<p><?php <p><?php
/* translators: 1: new admin email, 2: Cancel link URL */ printf(
printf( __( 'There is a pending change of the admin email to %1$s. <a href="%2$s">Cancel</a>' ), /* translators: %s: new admin email */
'<code>' . esc_html( $new_admin_email ) . '</code>', __( 'There is a pending change of the admin email to %s.' ),
esc_url( admin_url( 'options.php?dismiss=new_admin_email' ) ) '<code>' . esc_html( $new_admin_email ) . '</code>'
);
printf(
' <a href="%1$s">%2$s</a>',
esc_url( admin_url( 'options.php?dismiss=new_admin_email' ) ),
__( 'Cancel' )
); );
?></p> ?></p>
</div> </div>

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.5-alpha-36655'; $wp_version = '4.5-alpha-36656';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.