Changeset 33631
- Timestamp:
- 08/18/2015 05:01:50 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/about.php
r33613 r33631 23 23 include( ABSPATH . 'wp-admin/admin-header.php' ); 24 24 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' ); 27 if ( 'en-AU' !== $locale ) { 28 list( $locale ) = explode( '-', $locale ); 29 } 30 if ( 'en' !== $locale ) { 28 31 $video_url = add_query_arg( 'defaultLangCode', $locale, $video_url ); 29 32 }
Note: See TracChangeset
for help on using the changeset viewer.