Ticket #31851: 31851.patch
| File 31851.patch, 1.5 KB (added by , 11 years ago) |
|---|
-
wp-admin/includes/schema.php
1032 1032 1033 1033 if ( ! $vhost_ok ) { 1034 1034 $msg = '<p><strong>' . __( 'Warning! Wildcard DNS may not be configured correctly!' ) . '</strong></p>'; 1035 $msg .= '<p>' . sprintf( __( 'The installer attempted to contact a random hostname ( <code>%1$s</code>) on your domain.' ), $hostname);1035 $msg .= '<p>' . sprintf( __( 'The installer attempted to contact a random hostname (%s) on your domain.' ), '<code>' . $hostname . '</code>' ); 1036 1036 if ( ! empty ( $errstr ) ) 1037 1037 $msg .= ' ' . sprintf( __( 'This resulted in an error message: %s' ), '<code>' . $errstr . '</code>' ); 1038 1038 $msg .= '</p>'; 1039 $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>';1039 $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>'; 1040 1040 $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>'; 1041 1041 return new WP_Error( 'no_wildcard_dns', $msg ); 1042 1042 }