Return fiter result directly. Props Denis-de-Bernardy. fixes #9690
git-svn-id: http://svn.automattic.com/wordpress/trunk@11194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
af18e8422a
commit
4f40b6e5ff
|
@ -38,9 +38,7 @@ function get_locale() {
|
||||||
if (empty($locale))
|
if (empty($locale))
|
||||||
$locale = 'en_US';
|
$locale = 'en_US';
|
||||||
|
|
||||||
$locale = apply_filters('locale', $locale);
|
return apply_filters('locale', $locale);
|
||||||
|
|
||||||
return $locale;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue