mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 01:00:04 +00:00
I18N: Use a complete translatable string for the "Delete My Site" email subject.
Props thrijith Fixes #46855 git-svn-id: https://develop.svn.wordpress.org/trunk@45387 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -78,7 +78,15 @@ Webmaster
|
||||
$content = str_replace( '###URL_DELETE###', $url_delete, $content );
|
||||
$content = str_replace( '###SITE_NAME###', get_network()->site_name, $content );
|
||||
|
||||
wp_mail( get_option( 'admin_email' ), '[ ' . wp_specialchars_decode( get_option( 'blogname' ) ) . ' ] ' . __( 'Delete My Site' ), $content );
|
||||
wp_mail(
|
||||
get_option( 'admin_email' ),
|
||||
sprintf(
|
||||
/* translators: %s: Site title */
|
||||
__( '[%s] Delete My Site' ),
|
||||
wp_specialchars_decode( get_option( 'blogname' ) )
|
||||
),
|
||||
$content
|
||||
);
|
||||
|
||||
if ( $switched_locale ) {
|
||||
restore_previous_locale();
|
||||
|
||||
Reference in New Issue
Block a user