From 7b275f6a079b3c4f6c798347e67bbdf03bd562e9 Mon Sep 17 00:00:00 2001 From: Dion Hulse Date: Sat, 27 Aug 2016 15:12:18 +0000 Subject: [PATCH] i18n: Retire another remaining `wp-includes/locale.php` require, and instead load the required `WP_Locale` class directly. See #37827. git-svn-id: https://develop.svn.wordpress.org/trunk@38404 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/load.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/load.php b/src/wp-includes/load.php index cd667734b4..8e1f351115 100644 --- a/src/wp-includes/load.php +++ b/src/wp-includes/load.php @@ -867,7 +867,7 @@ function wp_load_translations_early() { // Translation and localization require_once ABSPATH . WPINC . '/pomo/mo.php'; require_once ABSPATH . WPINC . '/l10n.php'; - require_once ABSPATH . WPINC . '/locale.php'; + require_once ABSPATH . WPINC . '/class-wp-locale.php'; // General libraries require_once ABSPATH . WPINC . '/plugin.php'; @@ -1077,4 +1077,4 @@ function is_wp_error( $thing ) { function get_current_site() { global $current_site; return $current_site; -} \ No newline at end of file +}