diff --git a/wp-admin/about.php b/wp-admin/about.php index 5bf7139ca3..b86e09e44c 100644 --- a/wp-admin/about.php +++ b/wp-admin/about.php @@ -34,10 +34,10 @@ function _wp_override_admin_video_width_limit( $output ) { } $video_url = 'https://videopress.com/embed/GbdhpGF3?hd=true'; -$locale = str_replace( '_', '-', get_locale() ); -list( $locale ) = explode( '-', $locale ); -if ( 'en' !== $locale ) { - $video_url = add_query_arg( 'defaultLangCode', $locale, $video_url ); +$lang_code = str_replace( '_', '-', get_user_locale() ); +list( $lang_code ) = explode( '-', $lang_code ); +if ( 'en' !== $lang_code ) { + $video_url = add_query_arg( 'defaultLangCode', $lang_code, $video_url ); } $title = __( 'About' ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 17798803f2..ceed1e64f1 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7-alpha-38951'; +$wp_version = '4.7-alpha-38952'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.