About: Use actual locale and not subtitle debug cruft.

H/t dimadin.

See #32929.


git-svn-id: https://develop.svn.wordpress.org/trunk@33632 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Konstantin Obenland 2015-08-18 17:06:37 +00:00
parent 03bc4e6299
commit 6367a427f4

View File

@ -23,7 +23,7 @@ list( $display_version ) = explode( '-', $wp_version );
include( ABSPATH . 'wp-admin/admin-header.php' );
$video_url = 'https://videopress.com/embed/T54Iy7Tw';
$locale = str_replace( '_', '-', 'de_DE' );
$locale = str_replace( '_', '-', get_locale() );
if ( 'en-AU' !== $locale ) {
list( $locale ) = explode( '-', $locale );
}