I18N: Use a complete translatable string for the "Delete My Site" email subject.
Props thrijith Fixes #46855 Built from https://develop.svn.wordpress.org/trunk@45387 git-svn-id: http://core.svn.wordpress.org/trunk@45198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9e891be893
commit
f2ef36bb2d
@ -78,7 +78,15 @@ Webmaster
|
|||||||
$content = str_replace( '###URL_DELETE###', $url_delete, $content );
|
$content = str_replace( '###URL_DELETE###', $url_delete, $content );
|
||||||
$content = str_replace( '###SITE_NAME###', get_network()->site_name, $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 ) {
|
if ( $switched_locale ) {
|
||||||
restore_previous_locale();
|
restore_previous_locale();
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.3-alpha-45386';
|
$wp_version = '5.3-alpha-45387';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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.
|
||||||
|
Loading…
Reference in New Issue
Block a user