From 64bf19ba40fe220f03fcc1c39f30ff79f2c99242 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 30 Oct 2015 09:15:42 +0000 Subject: [PATCH] Don't use `` in translatable string in `wp-includes/ms-load.php`. Add translator commment. Props ramiy. Fixes #34506. git-svn-id: https://develop.svn.wordpress.org/trunk@35453 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/ms-load.php | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/ms-load.php b/src/wp-includes/ms-load.php index 97f45c7360..7da0454fa6 100644 --- a/src/wp-includes/ms-load.php +++ b/src/wp-includes/ms-load.php @@ -93,10 +93,17 @@ function ms_site_check() { } if ( '2' == $blog->deleted ) { - if ( file_exists( WP_CONTENT_DIR . '/blog-inactive.php' ) ) + if ( file_exists( WP_CONTENT_DIR . '/blog-inactive.php' ) ) { return WP_CONTENT_DIR . '/blog-inactive.php'; - else - wp_die( sprintf( __( 'This site has not been activated yet. If you are having problems activating your site, please contact %1$s.' ), str_replace( '@', ' AT ', get_site_option( 'admin_email', 'support@' . get_current_site()->domain ) ) ) ); + } else { + $admin_email = str_replace( '@', ' AT ', get_site_option( 'admin_email', 'support@' . get_current_site()->domain ) ); + wp_die( + /* translators: %s: admin email link */ + sprintf( __( 'This site has not been activated yet. If you are having problems activating your site, please contact %s.' ), + sprintf( '%s', $admin_email ) + ) + ); + } } if ( $blog->archived == '1' || $blog->spam == '1' ) {