Fix ms lang file check. Props ocean90. fixes #13706

git-svn-id: https://develop.svn.wordpress.org/trunk@15137 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2010-06-04 12:53:44 +00:00
parent e607e13040
commit c8db4219ea
1 changed files with 1 additions and 1 deletions

View File

@ -511,7 +511,7 @@ 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' ) && 0 !== strpos( $lang_file, 'ms-' ) )
if ( false === strpos( $lang_file, 'continents-cities' ) && false === strpos( $lang_file, 'ms-' ) )
$languages[] = basename($lang_file, '.mo');
}