diff --git a/wp-includes/wp-l10n.php b/wp-includes/wp-l10n.php index 36152744c..827ae1fa0 100644 --- a/wp-includes/wp-l10n.php +++ b/wp-includes/wp-l10n.php @@ -1,20 +1,27 @@ diff --git a/wp-settings.php b/wp-settings.php index 7d4ae09db..d99487dde 100644 --- a/wp-settings.php +++ b/wp-settings.php @@ -101,6 +101,12 @@ if ( get_settings('active_plugins') ) { define('TEMPLATEPATH', get_template_directory()); +// Load the default text localization domain. +load_default_textdomain(); + +// Pull in locale data after loading text domain. +require_once(ABSPATH . WPINC . '/locale.php'); + if ( !get_magic_quotes_gpc() ) { $_GET = add_magic_quotes($_GET ); $_POST = add_magic_quotes($_POST );