Make WordPress Core


Ignore:
Timestamp:
08/25/2015 08:27:56 PM (11 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/rss.php

    r32990 r33734  
    600600
    601601                // find Etag, and Last-Modified
    602                 foreach( (array) $resp->headers as $h) {
     602                foreach ( (array) $resp->headers as $h) {
    603603                        // 2003-03-02 - Nicola Asuni (www.tecnick.com) - fixed bug "Undefined offset: 1"
    604604                        if (strpos($h, ": ")) {
Note: See TracChangeset for help on using the changeset viewer.