Make WordPress Core


Ignore:
Timestamp:
08/25/2015 08:27:56 PM (9 years ago)
Author:
wonderboymusic
Message:

foreach is a statement, not a function.

See #33491.

File:
1 edited

Legend:

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

    r33447 r33734  
    777777    $lang_files = glob( ( is_null( $dir) ? WP_LANG_DIR : $dir ) . '/*.mo' );
    778778    if ( $lang_files ) {
    779         foreach( $lang_files as $lang_file ) {
     779        foreach ( $lang_files as $lang_file ) {
    780780            $lang_file = basename( $lang_file, '.mo' );
    781781            if ( 0 !== strpos( $lang_file, 'continents-cities' ) && 0 !== strpos( $lang_file, 'ms-' ) &&
Note: See TracChangeset for help on using the changeset viewer.