Make WordPress Core

Ticket #32929: 32929.11.diff

File 32929.11.diff, 700 bytes (added by obenland, 9 years ago)
  • src/wp-admin/about.php

     
    2222
    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( '_', '-', get_locale() );
     27if ( 'en-AU' !== $locale ) {
     28        list( $locale ) = explode( '-', $locale );
     29}
     30if ( 'en' !== $locale ) {
    2831        $video_url = add_query_arg( 'defaultLangCode', $locale, $video_url );
    2932}
    3033