WordPress.org

Make WordPress Core

Ticket #12761: wp-includes--class-http.php.diff

File wp-includes--class-http.php.diff, 635 bytes (added by josephscott, 8 years ago)
  • wp-includes/class-http.php

     
    17361736
    17371737                        // Set everything else as a property
    17381738                        foreach ( $pairs as $pair ) {
     1739                                $pair = rtrim( $pair );
    17391740                                if ( empty($pair) ) //Handles the cookie ending in ; which results in a empty final pair
    17401741                                        continue;
    17411742
     
    20002001        function is_available() {
    20012002                return ( function_exists('gzuncompress') || function_exists('gzdeflate') || function_exists('gzinflate') );
    20022003        }
    2003 }
    2004  No newline at end of file
     2004}