WordPress.org

Make WordPress Core

Changeset 15137


Ignore:
Timestamp:
06/04/10 12:53:44 (4 years ago)
Author:
ryan
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/l10n.php

    r15118 r15137  
    512512 
    513513    foreach( (array)glob( ( is_null( $dir) ? WP_LANG_DIR : $dir ) . '/*.mo' ) as $lang_file ) { 
    514         if ( false === strpos( $lang_file, 'continents-cities' ) && 0 !== strpos( $lang_file, 'ms-' ) ) 
     514        if ( false === strpos( $lang_file, 'continents-cities' ) && false === strpos( $lang_file, 'ms-' ) ) 
    515515            $languages[] = basename($lang_file, '.mo'); 
    516516    } 
Note: See TracChangeset for help on using the changeset viewer.