From d55738d327f309a2b2e3f40462acdb2cd8285fbe Mon Sep 17 00:00:00 2001 From: Konstantin Obenland Date: Tue, 18 Aug 2015 17:02:27 +0000 Subject: [PATCH] About: Update release video to use the correct ID. Also adjusts locale handling to work with Videopress' subtitle implementation. Props siobhan, jacklenox, sararosso, hugobaeta, nickmomrik, rauchg. See #32929. Built from https://develop.svn.wordpress.org/trunk@33631 git-svn-id: http://core.svn.wordpress.org/trunk@33598 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/about.php | 9 ++++++--- wp-includes/version.php | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/wp-admin/about.php b/wp-admin/about.php index f24462913b..e217c72bc2 100644 --- a/wp-admin/about.php +++ b/wp-admin/about.php @@ -22,9 +22,12 @@ list( $display_version ) = explode( '-', $wp_version ); include( ABSPATH . 'wp-admin/admin-header.php' ); -$video_url = 'https://videopress.com/embed/e9kH4FzP'; -$locale = strtolower( str_replace( '_', '-', get_locale() ) ); -if ( 'en-us' !== $locale ) { +$video_url = 'https://videopress.com/embed/T54Iy7Tw'; +$locale = str_replace( '_', '-', 'de_DE' ); +if ( 'en-AU' !== $locale ) { + list( $locale ) = explode( '-', $locale ); +} +if ( 'en' !== $locale ) { $video_url = add_query_arg( 'defaultLangCode', $locale, $video_url ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index def692dfa3..384ad93c8f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.3-RC3-33630'; +$wp_version = '4.3-RC3-33631'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.