From 285213f7ae978a44d5107e507fcae31b327357df Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Wed, 2 Jun 2010 21:11:37 +0000 Subject: [PATCH] Let's not emphasize that multisite might as well be its own language. fixes #13706. git-svn-id: https://develop.svn.wordpress.org/trunk@15118 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/l10n.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wp-includes/l10n.php b/wp-includes/l10n.php index 65b8e9c6fa..d1e5f710af 100644 --- a/wp-includes/l10n.php +++ b/wp-includes/l10n.php @@ -511,9 +511,8 @@ function get_available_languages( $dir = null ) { $languages = array(); foreach( (array)glob( ( is_null( $dir) ? WP_LANG_DIR : $dir ) . '/*.mo' ) as $lang_file ) { - if ( false === strpos( $lang_file, 'continents-cities' ) ) { + if ( false === strpos( $lang_file, 'continents-cities' ) && 0 !== strpos( $lang_file, 'ms-' ) ) $languages[] = basename($lang_file, '.mo'); - } } return $languages;