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
This commit is contained in:
parent
52acaaad50
commit
7b275f6a07
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user