Changeset 31683 for trunk/src/wp-includes/class-http.php
- Timestamp:
- 03/09/2015 02:21:04 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-http.php
r31681 r31683 229 229 230 230 if ( ! is_array( $r['headers'] ) ) { 231 $processedHeaders = WP_Http::processHeaders( $r['headers'], $url );231 $processedHeaders = self::processHeaders( $r['headers'], $url ); 232 232 $r['headers'] = $processedHeaders['headers']; 233 233 } … … 248 248 249 249 // Construct Cookie: header if any cookies are set. 250 WP_Http::buildCookieHeader( $r );250 self::buildCookieHeader( $r ); 251 251 252 252 // Avoid issues where mbstring.func_overload is enabled. … … 2117 2117 return $decompressed; 2118 2118 2119 if ( false !== ( $decompressed = WP_Http_Encoding::compatible_gzinflate( $compressed ) ) )2119 if ( false !== ( $decompressed = self::compatible_gzinflate( $compressed ) ) ) 2120 2120 return $decompressed; 2121 2121 … … 2195 2195 public static function accept_encoding( $url, $args ) { 2196 2196 $type = array(); 2197 $compression_enabled = WP_Http_Encoding::is_available();2197 $compression_enabled = self::is_available(); 2198 2198 2199 2199 if ( ! $args['decompress'] ) // Decompression specifically disabled.
Note: See TracChangeset
for help on using the changeset viewer.