WordPress.org

Make WordPress Core

Changeset 25155


Ignore:
Timestamp:
08/28/2013 07:29:09 AM (7 years ago)
Author:
dd32
Message:

WP_HTTP: Fix a variable typo in [25153] See #23463

File:
1 edited

Legend:

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

    r25154 r25155  
    480480
    481481        while ( true ) {
    482             $has_chunk = (bool) preg_match( '/^([0-9a-f]+)[^\r\n]*\r\n/i', $body_copy, $match );
     482            $has_chunk = (bool) preg_match( '/^([0-9a-f]+)[^\r\n]*\r\n/i', $body, $match );
    483483            if ( ! $has_chunk || empty( $match[1] ) )
    484484                return $body_original;
Note: See TracChangeset for help on using the changeset viewer.