WordPress.org

Make WordPress Core

Changeset 13302


Ignore:
Timestamp:
02/22/2010 06:45:45 PM (8 years ago)
Author:
nacin
Message:

Fix notice in WP_Http. Fixes #12316 props sivel.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-http.php

    r13274 r13302  
    17341734                    continue;
    17351735
    1736                 list( $key, $val ) = explode( '=', $pair );
     1736                list( $key, $val ) = strpos( $pair, '=' ) ? explode( '=', $pair ) : array( $pair, '' );
    17371737                $key = strtolower( trim( $key ) );
    17381738                if ( 'expires' == $key )
Note: See TracChangeset for help on using the changeset viewer.