WordPress.org

Make WordPress Core

Ticket #13706: filter-ms.patch

File filter-ms.patch, 549 bytes (added by ocean90, 8 years ago)
  • wp-includes/l10n.php

     
    511511        $languages = array();
    512512
    513513        foreach( (array)glob( ( is_null( $dir) ? WP_LANG_DIR : $dir ) . '/*.mo' ) as $lang_file ) {
    514                 if ( false === strpos( $lang_file, 'continents-cities' ) ) {
     514                if ( false === strpos( $lang_file, 'continents-cities' ) && false === strpos( $lang_file, 'ms-' ) ) {
    515515                        $languages[] = basename($lang_file, '.mo');
    516516                }
    517517        }