mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 21:08:44 +01:00
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:
parent
03bc4e6299
commit
6367a427f4
@ -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 );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user