mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 20:54:29 +00: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:
@@ -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 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user