WordPress.org

Make WordPress Core

Changeset 11271


Ignore:
Timestamp:
05/11/09 19:34:24 (5 years ago)
Author:
ryan
Message:

Add function_exists check for gzdecode. see #9761

File:
1 edited

Legend:

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

    r11237 r11271  
    17881788            return $decompressed; 
    17891789 
    1790         $decompressed = gzdecode( $compressed ); 
    1791  
    1792         if ( false !== $decompressed ) 
    1793             return $decompressed; 
     1790        if ( function_exists('gzdecode') ) { 
     1791            $decompressed = gzdecode( $compressed ); 
     1792 
     1793            if ( false !== $decompressed ) 
     1794                return $decompressed; 
     1795        } 
    17941796 
    17951797        return $compressed; 
Note: See TracChangeset for help on using the changeset viewer.