Changeset 38952 for trunk/src/wp-admin/about.php
- Timestamp:
- 10/26/2016 12:10:35 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/about.php
r38459 r38952 35 35 36 36 $video_url = 'https://videopress.com/embed/GbdhpGF3?hd=true'; 37 $l ocale = str_replace( '_', '-', get_locale() );38 list( $l ocale ) = explode( '-', $locale );39 if ( 'en' !== $l ocale ) {40 $video_url = add_query_arg( 'defaultLangCode', $l ocale, $video_url );37 $lang_code = str_replace( '_', '-', get_user_locale() ); 38 list( $lang_code ) = explode( '-', $lang_code ); 39 if ( 'en' !== $lang_code ) { 40 $video_url = add_query_arg( 'defaultLangCode', $lang_code, $video_url ); 41 41 } 42 42
Note: See TracChangeset
for help on using the changeset viewer.