Don't use <code>
in translation strings in wp-admin/includes/schema.php
.
Props ramiy. Fixes #31851. git-svn-id: https://develop.svn.wordpress.org/trunk@34293 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f6d2c30fa7
commit
d2b4e0c728
@ -1046,11 +1046,17 @@ We hope you enjoy your new site. Thanks!
|
|||||||
|
|
||||||
if ( ! $vhost_ok ) {
|
if ( ! $vhost_ok ) {
|
||||||
$msg = '<p><strong>' . __( 'Warning! Wildcard DNS may not be configured correctly!' ) . '</strong></p>';
|
$msg = '<p><strong>' . __( 'Warning! Wildcard DNS may not be configured correctly!' ) . '</strong></p>';
|
||||||
$msg .= '<p>' . sprintf( __( 'The installer attempted to contact a random hostname (<code>%1$s</code>) on your domain.' ), $hostname );
|
$msg .= '<p>' . sprintf(
|
||||||
|
__( 'The installer attempted to contact a random hostname (%s) on your domain.' ),
|
||||||
|
'<code>' . $hostname . '</code>'
|
||||||
|
);
|
||||||
if ( ! empty ( $errstr ) )
|
if ( ! empty ( $errstr ) )
|
||||||
$msg .= ' ' . sprintf( __( 'This resulted in an error message: %s' ), '<code>' . $errstr . '</code>' );
|
$msg .= ' ' . sprintf( __( 'This resulted in an error message: %s' ), '<code>' . $errstr . '</code>' );
|
||||||
$msg .= '</p>';
|
$msg .= '</p>';
|
||||||
$msg .= '<p>' . __( 'To use a subdomain configuration, you must have a wildcard entry in your DNS. This usually means adding a <code>*</code> hostname record pointing at your web server in your DNS configuration tool.' ) . '</p>';
|
$msg .= '<p>' . sprintf(
|
||||||
|
__( 'To use a subdomain configuration, you must have a wildcard entry in your DNS. This usually means adding a %s hostname record pointing at your web server in your DNS configuration tool.' ),
|
||||||
|
'<code>*</code>'
|
||||||
|
) . '</p>';
|
||||||
$msg .= '<p>' . __( 'You can still use your site but any subdomain you create may not be accessible. If you know your DNS is correct, ignore this message.' ) . '</p>';
|
$msg .= '<p>' . __( 'You can still use your site but any subdomain you create may not be accessible. If you know your DNS is correct, ignore this message.' ) . '</p>';
|
||||||
return new WP_Error( 'no_wildcard_dns', $msg );
|
return new WP_Error( 'no_wildcard_dns', $msg );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user