From bb3e16e9745abc5d625a8254303c3875c7a04ebf Mon Sep 17 00:00:00 2001 From: donncha Date: Mon, 8 Jan 2007 18:25:37 +0000 Subject: WP Merge to 4701 git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@832 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-settings.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'wp-settings.php') diff --git a/wp-settings.php b/wp-settings.php index 021c082..482a5fa 100644 --- a/wp-settings.php +++ b/wp-settings.php @@ -300,6 +300,11 @@ define('STYLESHEETPATH', get_stylesheet_directory()); // Load the default text localization domain. load_default_textdomain(); +$locale = get_locale(); +$locale_file = ABSPATH . LANGDIR . "/$locale.php"; +if ( is_readable($locale_file) ) + require_once($locale_file); + // Pull in locale data after loading text domain. require_once(ABSPATH . WPINC . '/locale.php'); -- cgit