mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-15 23:25:50 +01:00
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:
parent
2f514a6115
commit
d55738d327
@ -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 );
|
||||
}
|
||||
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user