mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-02 03:34:33 +00:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user