From 8cc3d71197a3986cf9c388404d0feb5cec34ab9f Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 23 Feb 2016 23:27:47 +0000 Subject: [PATCH] I18N: Remove `` tag from translatable string in `wp-admin/options-general.php`. Add translator comment. Props ramiy. Fixes #35673. git-svn-id: https://develop.svn.wordpress.org/trunk@36656 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/options-general.php | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/wp-admin/options-general.php b/src/wp-admin/options-general.php index 89830222f5..9091d5e3eb 100644 --- a/src/wp-admin/options-general.php +++ b/src/wp-admin/options-general.php @@ -105,10 +105,15 @@ $new_admin_email = get_option( 'new_admin_email' ); if ( $new_admin_email && $new_admin_email != get_option('admin_email') ) : ?>

Cancel' ), - '' . esc_html( $new_admin_email ) . '', - esc_url( admin_url( 'options.php?dismiss=new_admin_email' ) ) + printf( + /* translators: %s: new admin email */ + __( 'There is a pending change of the admin email to %s.' ), + '' . esc_html( $new_admin_email ) . '' + ); + printf( + ' %2$s', + esc_url( admin_url( 'options.php?dismiss=new_admin_email' ) ), + __( 'Cancel' ) ); ?>