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/revision.php

    r32800 r33734  
    337337
    338338    $update = array();
    339     foreach( array_intersect( array_keys( $revision ), $fields ) as $field ) {
     339    foreach ( array_intersect( array_keys( $revision ), $fields ) as $field ) {
    340340        $update[$field] = $revision[$field];
    341341    }
Note: See TracChangeset for help on using the changeset viewer.