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-admin/includes/update-core.php

    r33626 r33734  
    882882            $checksums = $checksums[ $wp_version ]; // Compat code for 3.7-beta2
    883883        if ( is_array( $checksums ) ) {
    884             foreach( $checksums as $file => $checksum ) {
     884            foreach ( $checksums as $file => $checksum ) {
    885885                if ( 'wp-content' == substr( $file, 0, 10 ) )
    886886                    continue;
Note: See TracChangeset for help on using the changeset viewer.