From 844586e889c5820f70d6035b7f9fee260baa4f86 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 18 Sep 2015 18:39:23 +0000 Subject: [PATCH] Add missing translator comments after [34293]. See #31851. Built from https://develop.svn.wordpress.org/trunk@34298 git-svn-id: http://core.svn.wordpress.org/trunk@34262 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/schema.php | 10 +++++++++- wp-includes/version.php | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/schema.php b/wp-admin/includes/schema.php index e56210559f..dd3683464f 100644 --- a/wp-admin/includes/schema.php +++ b/wp-admin/includes/schema.php @@ -1046,18 +1046,26 @@ We hope you enjoy your new site. Thanks! if ( ! $vhost_ok ) { $msg = '

' . __( 'Warning! Wildcard DNS may not be configured correctly!' ) . '

'; + $msg .= '

' . sprintf( + /* translators: %s: host name */ __( 'The installer attempted to contact a random hostname (%s) on your domain.' ), '' . $hostname . '' ); - if ( ! empty ( $errstr ) ) + if ( ! empty ( $errstr ) ) { + /* translators: %s: error message */ $msg .= ' ' . sprintf( __( 'This resulted in an error message: %s' ), '' . $errstr . '' ); + } $msg .= '

'; + $msg .= '

' . sprintf( + /* translators: %s: asterisk symbol (*) */ __( '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.' ), '*' ) . '

'; + $msg .= '

' . __( '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.' ) . '

'; + return new WP_Error( 'no_wildcard_dns', $msg ); } } diff --git a/wp-includes/version.php b/wp-includes/version.php index 66d2c9c4df..d2401c4763 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-34297'; +$wp_version = '4.4-alpha-34298'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.