diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-01-08 18:25:37 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-01-08 18:25:37 +0000 |
commit | bb3e16e9745abc5d625a8254303c3875c7a04ebf (patch) | |
tree | 105f7abc052be575a643971ab59b3b38f4fa7056 /wp-settings.php | |
parent | 11571c1befd735bd1d69caea2b093164215b4fee (diff) | |
download | wordpress-mu-bb3e16e9745abc5d625a8254303c3875c7a04ebf.tar.gz wordpress-mu-bb3e16e9745abc5d625a8254303c3875c7a04ebf.tar.xz wordpress-mu-bb3e16e9745abc5d625a8254303c3875c7a04ebf.zip |
WP Merge to 4701
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@832 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-settings.php')
-rw-r--r-- | wp-settings.php | 5 |
1 files changed, 5 insertions, 0 deletions
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'); |