Add filter hook for locale string.
git-svn-id: https://develop.svn.wordpress.org/trunk@1941 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
953caf1484
commit
92dd459497
|
@ -14,6 +14,8 @@ if (empty($locale)) {
|
||||||
$locale = 'en_US';
|
$locale = 'en_US';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$locale = apply_filters('locale', $locale);
|
||||||
|
|
||||||
require_once(ABSPATH . 'wp-includes/streams.php');
|
require_once(ABSPATH . 'wp-includes/streams.php');
|
||||||
require_once(ABSPATH . 'wp-includes/gettext.php');
|
require_once(ABSPATH . 'wp-includes/gettext.php');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue