From 2fd58a997fb9bbc34a6fc8d5e9fb96d0630c5c89 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Wed, 9 May 2018 22:51:37 +0000 Subject: [PATCH] Upgrade/Install: Correctly internationalise error messages during config setup. Fixes #43997 git-svn-id: https://develop.svn.wordpress.org/trunk@43205 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/setup-config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/setup-config.php b/src/wp-admin/setup-config.php index f09ecdf6f1..2382357d84 100644 --- a/src/wp-admin/setup-config.php +++ b/src/wp-admin/setup-config.php @@ -273,12 +273,12 @@ switch ( $step ) { $tryagain_link = '

' . __( 'Try again' ) . ''; if ( empty( $prefix ) ) { - wp_die( __( 'ERROR: "Table Prefix" must not be empty.' . $tryagain_link ) ); + wp_die( __( 'ERROR: "Table Prefix" must not be empty.' ) . $tryagain_link ); } // Validate $prefix: it can only contain letters, numbers and underscores. if ( preg_match( '|[^a-z0-9_]|i', $prefix ) ) { - wp_die( __( 'ERROR: "Table Prefix" can only contain numbers, letters, and underscores.' . $tryagain_link ) ); + wp_die( __( 'ERROR: "Table Prefix" can only contain numbers, letters, and underscores.' ) . $tryagain_link ); } // Test the db connection.