From 6367a427f4da3660bfef90386172aa48eb4739b4 Mon Sep 17 00:00:00 2001 From: Konstantin Obenland Date: Tue, 18 Aug 2015 17:06:37 +0000 Subject: [PATCH] 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 --- src/wp-admin/about.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/about.php b/src/wp-admin/about.php index e217c72bc2..8118b5a3dc 100644 --- a/src/wp-admin/about.php +++ b/src/wp-admin/about.php @@ -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 ); }