[wp-trac] [WordPress Trac] #9754: all calls to should_defalate are
passing wrong argument
WordPress Trac
wp-trac at lists.automattic.com
Thu May 7 20:49:56 GMT 2009
#9754: all calls to should_defalate are passing wrong argument
--------------------------+-------------------------------------------------
Reporter: wnorris | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: 2.8
Component: HTTP | Version: 2.8
Severity: major | Keywords: http has_patch
--------------------------+-------------------------------------------------
All of the calls to `WP_Http_Encoding::should_decode()` are passing the
argument `$theHeaders` (or whatever that variable is named for that
function. ''btw, why is it so inconsistent?''). This array contains two
keys 'headers' and 'cookies'. `should_decode()` is expecting only the
'headers' array, so every call to `should_decode` needs to be updated to
pass `$theHeaders['headers']`. Otherwise, HTTP responses are never
decompressed.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9754>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list