mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
Add filter hook for locale string.
git-svn-id: http://svn.automattic.com/wordpress/trunk@1941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c3e1d51c20
commit
036efdfdc2
@ -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
Block a user