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:
parent
d916e255f4
commit
3aa3af79c7
@ -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'))
|
||||
|
Loading…
x
Reference in New Issue
Block a user