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

    r33627 r33734  
    489489    $atts = (array)$atts;
    490490    $out = array();
    491     foreach($pairs as $name => $default) {
     491    foreach ($pairs as $name => $default) {
    492492        if ( array_key_exists($name, $atts) )
    493493            $out[$name] = $atts[$name];
Note: See TracChangeset for help on using the changeset viewer.