mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
I18N: Revert [49236] for now to investigate alternative implementations.
See #39210, #51678, #26511. git-svn-id: https://develop.svn.wordpress.org/trunk@49566 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -152,7 +152,6 @@ if ( SHORTINIT ) {
|
||||
|
||||
// Load the L10n library.
|
||||
require_once ABSPATH . WPINC . '/l10n.php';
|
||||
require_once ABSPATH . WPINC . '/class-wp-textdomain-registry.php';
|
||||
require_once ABSPATH . WPINC . '/class-wp-locale.php';
|
||||
require_once ABSPATH . WPINC . '/class-wp-locale-switcher.php';
|
||||
|
||||
@@ -302,17 +301,6 @@ require ABSPATH . WPINC . '/block-supports/typography.php';
|
||||
|
||||
$GLOBALS['wp_embed'] = new WP_Embed();
|
||||
|
||||
/**
|
||||
* WordPress Textdomain Registry object.
|
||||
*
|
||||
* Used to support just-in-time translations for manually loaded textdomains.
|
||||
*
|
||||
* @since 5.6.0
|
||||
*
|
||||
* @global WP_Locale_Switcher $wp_locale_switcher WordPress Textdomain Registry.
|
||||
*/
|
||||
$GLOBALS['wp_textdomain_registry'] = new WP_Textdomain_Registry();
|
||||
|
||||
// Load multisite-specific files.
|
||||
if ( is_multisite() ) {
|
||||
require ABSPATH . WPINC . '/ms-functions.php';
|
||||
|
||||
Reference in New Issue
Block a user