Make WordPress Core


Ignore:
Timestamp:
09/18/2015 06:20:46 PM (9 years ago)
Author:
wonderboymusic
Message:

Don't use <code> in translation strings in wp-admin/includes/schema.php.

Props ramiy.
Fixes #31851.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/schema.php

    r34291 r34293  
    10471047        if ( ! $vhost_ok ) {
    10481048            $msg = '<p><strong>' . __( 'Warning! Wildcard DNS may not be configured correctly!' ) . '</strong></p>';
    1049             $msg .= '<p>' . sprintf( __( 'The installer attempted to contact a random hostname (<code>%1$s</code>) on your domain.' ), $hostname );
     1049            $msg .= '<p>' . sprintf(
     1050                __( 'The installer attempted to contact a random hostname (%s) on your domain.' ),
     1051                '<code>' . $hostname . '</code>'
     1052            );
    10501053            if ( ! empty ( $errstr ) )
    10511054                $msg .= ' ' . sprintf( __( 'This resulted in an error message: %s' ), '<code>' . $errstr . '</code>' );
    10521055            $msg .= '</p>';
    1053             $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>';
     1056            $msg .= '<p>' . sprintf(
     1057                __( '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.' ),
     1058                '<code>*</code>'
     1059            ) . '</p>';
    10541060            $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>';
    10551061            return new WP_Error( 'no_wildcard_dns', $msg );
Note: See TracChangeset for help on using the changeset viewer.