From dce6021ecd354beb87b9232acc60caa4b070d54a Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Thu, 18 Jan 2007 04:57:39 +0000 Subject: [PATCH] Always load gettext. git-svn-id: https://develop.svn.wordpress.org/trunk@4763 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-settings.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/wp-settings.php b/wp-settings.php index 6c76c304e5..3141bd35ed 100644 --- a/wp-settings.php +++ b/wp-settings.php @@ -135,10 +135,8 @@ wp_cache_init(); require (ABSPATH . WPINC . '/functions.php'); require (ABSPATH . WPINC . '/plugin.php'); require (ABSPATH . WPINC . '/default-filters.php'); -if ( defined('WPLANG') && '' != constant('WPLANG') ) { - include_once(ABSPATH . WPINC . '/streams.php'); - include_once(ABSPATH . WPINC . '/gettext.php'); -} +include_once(ABSPATH . WPINC . '/streams.php'); +include_once(ABSPATH . WPINC . '/gettext.php'); require_once (ABSPATH . WPINC . '/l10n.php'); if ( !is_blog_installed() && (!strstr($_SERVER['PHP_SELF'], 'install.php') && !defined('WP_INSTALLING')) ) {