From f2ef36bb2dd0deeab5b626bef3147c45900e4bcb Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Thu, 23 May 2019 22:15:54 +0000 Subject: [PATCH] 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 --- wp-admin/ms-delete-site.php | 10 +++++++++- wp-includes/version.php | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/wp-admin/ms-delete-site.php b/wp-admin/ms-delete-site.php index b449803878..dd5da9dd6f 100644 --- a/wp-admin/ms-delete-site.php +++ b/wp-admin/ms-delete-site.php @@ -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(); diff --git a/wp-includes/version.php b/wp-includes/version.php index 356126c6fa..6e5a5bc9b9 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @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.