Make WordPress Core

Ticket #31851: 31851.patch

File 31851.patch, 1.5 KB (added by ramiy, 11 years ago)
  • wp-admin/includes/schema.php

     
    10321032
    10331033                if ( ! $vhost_ok ) {
    10341034                        $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>' );
    10361036                        if ( ! empty ( $errstr ) )
    10371037                                $msg .= ' ' . sprintf( __( 'This resulted in an error message: %s' ), '<code>' . $errstr . '</code>' );
    10381038                        $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>';
    10401040                        $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>';
    10411041                        return new WP_Error( 'no_wildcard_dns', $msg );
    10421042                }