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:
rboren 2004-12-13 04:39:26 +00:00
parent c3e1d51c20
commit 036efdfdc2
1 changed files with 2 additions and 0 deletions

View File

@ -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');