From 036efdfdc26710f3e0d110b3d174dc37598ff26d Mon Sep 17 00:00:00 2001 From: rboren Date: Mon, 13 Dec 2004 04:39:26 +0000 Subject: [PATCH] Add filter hook for locale string. git-svn-id: http://svn.automattic.com/wordpress/trunk@1941 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/wp-l10n.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wp-includes/wp-l10n.php b/wp-includes/wp-l10n.php index 63c97d9b63..1ddceb5056 100644 --- a/wp-includes/wp-l10n.php +++ b/wp-includes/wp-l10n.php @@ -14,6 +14,8 @@ if (empty($locale)) { $locale = 'en_US'; } +$locale = apply_filters('locale', $locale); + require_once(ABSPATH . 'wp-includes/streams.php'); require_once(ABSPATH . 'wp-includes/gettext.php');