From ad899d26e0c68070bd12a23e21a2ca5ac0a873e3 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Tue, 16 Jan 2007 23:03:19 +0000 Subject: [PATCH] Don't gettext before l10n bits are loaded. Props nbachiyski. fixes #3590 git-svn-id: https://develop.svn.wordpress.org/trunk@4756 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-settings.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-settings.php b/wp-settings.php index b231866637..6c76c304e5 100644 --- a/wp-settings.php +++ b/wp-settings.php @@ -103,7 +103,7 @@ else $wpdb->prefix = $table_prefix; if ( preg_match('|[^a-z0-9_]|i', $wpdb->prefix) && !file_exists(ABSPATH . 'wp-content/db.php') ) - die(__('ERROR: $table_prefix in wp-config.php can only contain numbers, letters, and underscores.')); + die("ERROR: $table_prefix in wp-config.php can only contain numbers, letters, and underscores."); // Table names $wpdb->posts = $wpdb->prefix . 'posts'; @@ -146,7 +146,7 @@ if ( !is_blog_installed() && (!strstr($_SERVER['PHP_SELF'], 'install.php') && !d $link = 'install.php'; else $link = 'wp-admin/install.php'; - wp_die(sprintf(__("It doesn't look like you've installed WP yet. Try running install.php."), $link)); + wp_die(sprintf("It doesn't look like you've installed WP yet. Try running install.php.", $link)); } require (ABSPATH . WPINC . '/formatting.php');