diff --git a/src/wp-includes/ms-default-constants.php b/src/wp-includes/ms-default-constants.php index 016ed437b7..128b47b9ae 100644 --- a/src/wp-includes/ms-default-constants.php +++ b/src/wp-includes/ms-default-constants.php @@ -143,11 +143,21 @@ function ms_subdomain_constants() { '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 ); + trigger_error( + sprintf( + /* translators: 1: VHOST, 2: SUBDOMAIN_INSTALL */ + __( 'Conflicting values for the constants %1$s and %2$s. The value of %2$s will be assumed to be your subdomain configuration setting.' ), + 'VHOST', + 'SUBDOMAIN_INSTALL' + ) . ' ' . $vhost_deprecated, + E_USER_WARNING + ); } else { _deprecated_argument( 'define()', '3.0.0', $vhost_deprecated ); } + return; }