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
This commit is contained in:
parent
c8dae44e09
commit
285213f7ae
@ -511,10 +511,9 @@ 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user