Return fiter result directly. Props Denis-de-Bernardy. fixes #9690
git-svn-id: https://develop.svn.wordpress.org/trunk@11194 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2deb2b1087
commit
b16cbfc447
@ -38,9 +38,7 @@ function get_locale() {
|
||||
if (empty($locale))
|
||||
$locale = 'en_US';
|
||||
|
||||
$locale = apply_filters('locale', $locale);
|
||||
|
||||
return $locale;
|
||||
return apply_filters('locale', $locale);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user