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

    r33707 r33734  
    503503    // Set custom headers
    504504    if ( !empty( $headers ) ) {
    505         foreach( (array) $headers as $name => $content ) {
     505        foreach ( (array) $headers as $name => $content ) {
    506506            $phpmailer->AddCustomHeader( sprintf( '%1$s: %2$s', $name, $content ) );
    507507        }
Note: See TracChangeset for help on using the changeset viewer.