WordPress.org

Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.7/src/wp-includes/l10n.php

    r25652 r25987  
    798798        'X-Generator'        => '"X-Generator',
    799799    ) );
    800     foreach ( $headers as &$header ) {
     800    foreach ( $headers as $header => $value ) {
    801801        // Remove possible contextual '\n' and closing double quote.
    802         $header = preg_replace( '~(\\\n)?"$~', '', $header );
     802        $headers[ $header ] = preg_replace( '~(\\\n)?"$~', '', $value );
    803803    }
    804804    return $headers;
Note: See TracChangeset for help on using the changeset viewer.