Changeset 34298
- Timestamp:
- 09/18/2015 06:38:54 PM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/includes/schema.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/schema.php
r34293 r34298 1047 1047 if ( ! $vhost_ok ) { 1048 1048 $msg = '<p><strong>' . __( 'Warning! Wildcard DNS may not be configured correctly!' ) . '</strong></p>'; 1049 1049 1050 $msg .= '<p>' . sprintf( 1051 /* translators: %s: host name */ 1050 1052 __( 'The installer attempted to contact a random hostname (%s) on your domain.' ), 1051 1053 '<code>' . $hostname . '</code>' 1052 1054 ); 1053 if ( ! empty ( $errstr ) ) 1055 if ( ! empty ( $errstr ) ) { 1056 /* translators: %s: error message */ 1054 1057 $msg .= ' ' . sprintf( __( 'This resulted in an error message: %s' ), '<code>' . $errstr . '</code>' ); 1058 } 1055 1059 $msg .= '</p>'; 1060 1056 1061 $msg .= '<p>' . sprintf( 1062 /* translators: %s: asterisk symbol (*) */ 1057 1063 __( '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 1064 '<code>*</code>' 1059 1065 ) . '</p>'; 1066 1060 1067 $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>'; 1068 1061 1069 return new WP_Error( 'no_wildcard_dns', $msg ); 1062 1070 }
Note: See TracChangeset
for help on using the changeset viewer.