Apply filter on locale, fixes #2383

git-svn-id: https://develop.svn.wordpress.org/trunk@4588 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2006-12-03 21:09:24 +00:00
parent d916e255f4
commit 3aa3af79c7
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ function get_locale() {
global $locale;
if (isset($locale))
return $locale;
return apply_filters( 'locale', $locale );
// WPLANG is defined in wp-config.
if (defined('WPLANG'))