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
This commit is contained in:
Konstantin Obenland 2015-08-18 17:02:27 +00:00
parent 2f514a6115
commit d55738d327
2 changed files with 7 additions and 4 deletions

View File

@ -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 );
}

View File

@ -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.