Make WordPress Core


Ignore:
Timestamp:
08/18/2015 05:01:50 PM (9 years ago)
Author:
obenland
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/about.php

    r33613 r33631  
    2323include( ABSPATH . 'wp-admin/admin-header.php' );
    2424
    25 $video_url = 'https://videopress.com/embed/e9kH4FzP';
    26 $locale    = strtolower( str_replace( '_', '-', get_locale() ) );
    27 if ( 'en-us' !== $locale ) {
     25$video_url = 'https://videopress.com/embed/T54Iy7Tw';
     26$locale    = str_replace( '_', '-', 'de_DE' );
     27if ( 'en-AU' !== $locale ) {
     28    list( $locale ) = explode( '-', $locale );
     29}
     30if ( 'en' !== $locale ) {
    2831    $video_url = add_query_arg( 'defaultLangCode', $locale, $video_url );
    2932}
Note: See TracChangeset for help on using the changeset viewer.