Don't use `<a>` 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
This commit is contained in:
Sergey Biryukov 2015-10-30 09:15:42 +00:00
parent 4bca320a77
commit 64bf19ba40
1 changed files with 10 additions and 3 deletions

View File

@ -93,10 +93,17 @@ function ms_site_check() {
} }
if ( '2' == $blog->deleted ) { 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'; return WP_CONTENT_DIR . '/blog-inactive.php';
else } else {
wp_die( sprintf( __( 'This site has not been activated yet. If you are having problems activating your site, please contact <a href="mailto:%1$s">%1$s</a>.' ), str_replace( '@', ' AT ', get_site_option( 'admin_email', 'support@' . get_current_site()->domain ) ) ) ); $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( '<a href="mailto:%s">%s</a>', $admin_email )
)
);
}
} }
if ( $blog->archived == '1' || $blog->spam == '1' ) { if ( $blog->archived == '1' || $blog->spam == '1' ) {