diff --git a/wp-includes/version.php b/wp-includes/version.php index 45fd5e21ce..9ea45dd1fc 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.5-beta2-57703'; +$wp_version = '6.5-beta2-57704'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-settings.php b/wp-settings.php index a284dcb6e4..ecc2717d19 100644 --- a/wp-settings.php +++ b/wp-settings.php @@ -641,8 +641,6 @@ $GLOBALS['wp_locale'] = new WP_Locale(); $GLOBALS['wp_locale_switcher'] = new WP_Locale_Switcher(); $GLOBALS['wp_locale_switcher']->init(); -WP_Translation_Controller::get_instance()->set_locale( $locale ); - // Load the functions for the active theme, for both parent and child theme if applicable. foreach ( wp_get_active_and_valid_themes() as $theme ) { if ( file_exists( $theme . '/functions.php' ) ) {