diff --git a/src/wp-admin/about.php b/src/wp-admin/about.php index 6149ac7819..04a8556691 100644 --- a/src/wp-admin/about.php +++ b/src/wp-admin/about.php @@ -21,6 +21,12 @@ if ( current_user_can( 'install_plugins' ) ) { wp_enqueue_script( 'plugin-install' ); } +$video_url = 'https://videopress.com/embed/J44FHXvg?hd=true'; +$locale = str_replace( '_', '-', get_locale() ); +list( $locale ) = explode( '-', $locale ); +if ( 'en' !== $locale ) { + $video_url = add_query_arg( 'defaultLangCode', $locale, $video_url ); +} wp_oembed_add_host_js(); @@ -42,6 +48,13 @@ include( ABSPATH . 'wp-admin/admin-header.php' ); +