Apply filter on locale, fixes #2383

git-svn-id: http://svn.automattic.com/wordpress/trunk@4588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
matt 2006-12-03 21:09:24 +00:00
parent 1218d77fd5
commit 81654225ea
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'))