WordPress.org

Make WordPress Core

Ticket #9761: wp-includes--http.php.diff

File wp-includes--http.php.diff, 656 bytes (added by josephscott, 9 years ago)
  • wp-includes/http.php

     
    17871787                if ( false !== $decompressed )
    17881788                        return $decompressed;
    17891789
    1790                 $decompressed = gzdecode( $compressed );
     1790                $decompressed = gzdeflate( $compressed );
    17911791
    17921792                if ( false !== $decompressed )
    17931793                        return $decompressed;
     
    18101810                if ( function_exists( 'gzuncompress' ) )
    18111811                        $type[] = 'compress;q=0.5';
    18121812
    1813                 if ( function_exists( 'gzdecode' ) )
     1813                if ( function_exists( 'gzdeflate' ) )
    18141814                        $type[] = 'gzip;q=0.5';
    18151815
    18161816                return implode(', ', $type);