From ea2d437b6bfee378614376d6ed649e4e9a5866a1 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 29 Feb 2016 03:16:45 +0000 Subject: [PATCH] I18N: Remove `` tags from translatable string in `wp-admin/network/site-new.php`. Props ramiy. Fixes #35994. git-svn-id: https://develop.svn.wordpress.org/trunk@36773 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/ms-default-constants.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/wp-includes/ms-default-constants.php b/src/wp-includes/ms-default-constants.php index 55137e245d..dd17201e4c 100644 --- a/src/wp-includes/ms-default-constants.php +++ b/src/wp-includes/ms-default-constants.php @@ -129,7 +129,14 @@ function ms_subdomain_constants() { } if ( $subdomain_error ) { - $vhost_deprecated = __( 'The constant VHOST is deprecated. Use the boolean constant SUBDOMAIN_INSTALL in wp-config.php to enable a subdomain configuration. Use is_subdomain_install() to check whether a subdomain configuration is enabled.' ); + $vhost_deprecated = sprintf( + /* translators: 1: VHOST, 2: SUBDOMAIN_INSTALL, 3: wp-config.php, 4: is_subdomain_install() */ + __( 'The constant %1$s is deprecated. Use the boolean constant %2$s in %3$s to enable a subdomain configuration. Use %4$s to check whether a subdomain configuration is enabled.' ), + 'VHOST', + 'SUBDOMAIN_INSTALL', + 'wp-config.php', + 'is_subdomain_install()' + ); if ( $subdomain_error_warn ) { trigger_error( __( 'Conflicting values for the constants VHOST and SUBDOMAIN_INSTALL. The value of SUBDOMAIN_INSTALL will be assumed to be your subdomain configuration setting.' ) . ' ' . $vhost_deprecated, E_USER_WARNING ); } else {