Let's not emphasize that multisite might as well be its own language. fixes #13706.

git-svn-id: http://svn.automattic.com/wordpress/trunk@15118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-06-02 21:11:37 +00:00
parent 4c7dc10d60
commit 6789149d20
1 changed files with 1 additions and 2 deletions

View File

@ -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;