mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
I18N: Load new translation library in wp_load_translations_early().
Ensures localization continues to work as expected with the new library in case translations need to be loaded early in the process. See #59656. git-svn-id: https://develop.svn.wordpress.org/trunk@57504 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
03cb3e30f2
commit
e26bbdbbf7
@ -1484,6 +1484,11 @@ function wp_load_translations_early() {
|
||||
|
||||
// Translation and localization.
|
||||
require_once ABSPATH . WPINC . '/pomo/mo.php';
|
||||
require_once ABSPATH . WPINC . '/l10n/class-wp-translation-controller.php';
|
||||
require_once ABSPATH . WPINC . '/l10n/class-wp-translations.php';
|
||||
require_once ABSPATH . WPINC . '/l10n/class-wp-translation-file.php';
|
||||
require_once ABSPATH . WPINC . '/l10n/class-wp-translation-file-mo.php';
|
||||
require_once ABSPATH . WPINC . '/l10n/class-wp-translation-file-php.php';
|
||||
require_once ABSPATH . WPINC . '/l10n.php';
|
||||
require_once ABSPATH . WPINC . '/class-wp-textdomain-registry.php';
|
||||
require_once ABSPATH . WPINC . '/class-wp-locale.php';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user