[wp-trac] Re: [WordPress Trac] #8476: Plugin update info not fetched/Wrong code in $raw_response?

WordPress Trac wp-trac at lists.automattic.com
Sun Dec 7 19:39:11 GMT 2008


#8476: Plugin update info not fetched/Wrong code in $raw_response?
--------------------------------+-------------------------------------------
 Reporter:  greps               |        Owner:     
     Type:  defect              |       Status:  new
 Priority:  high                |    Milestone:  2.7
Component:  Plugins             |      Version:  2.7
 Severity:  major               |   Resolution:     
 Keywords:  needs-patch tested  |  
--------------------------------+-------------------------------------------
Comment (by kpdesign):

 Applied the latest patch with debug plugin still enabled. Navigate to
 Install Plugins and see the following where the tags should be:

 ''array(2) {
 ["response"]=>  array(2) { ["code"]=>  string(3) "200" ["message"]=>
 string(2) "OK" } ["headers"]=>  array(5) { ["content-type"]=>  string(24)
 "text/html; charset=UTF-8" ["transfer-encoding"]=>  string(7) "chunked"
 ["date"]=>  string(29) "Sun, 07 Dec 2008 19:31:25 GMT" ["server"]=>
 string(9) "LiteSpeed" ["connection"]=>  string(5) "close" } }''


 This is what is at the bottom of the page:

 ''Available transports: Curl Streams Fopen Fsockopenarray(2) {
 ["response"]=>  array(2) { ["code"]=>  string(3) "200" ["message"]=>
 string(2) "OK" } ["headers"]=>  array(5) { ["content-type"]=>  string(25)
 "text/plain; charset=utf-8" ["content-length"]=>  string(1) "6" ["date"]=>
 string(29) "Sun, 07 Dec 2008 19:31:27 GMT" ["server"]=>  string(9)
 "LiteSpeed" ["connection"]=>  string(5) "close" } } $raw_response: Array (
 [headers] => Array ( [content-type] => text/plain; charset=utf-8 [content-
 length] => 6 [date] => Sun, 07 Dec 2008 19:31:27 GMT [server] => LiteSpeed
 [connection] => close ) [body] => a:0:{} [response] => Array ( [code] =>
 200 [message] => OK ) )''

 Search for 'deviant' returns 3 results. The following appears between the
 links and the search results:

 ''array(2) { ["response"]=>  array(2) { ["code"]=>  string(3) "200"
 ["message"]=>  string(2) "OK" } ["headers"]=>  array(5) { ["content-
 type"]=>  string(24) "text/html; charset=UTF-8" ["content-length"]=>
 string(4) "1187" ["date"]=>  string(29) "Sun, 07 Dec 2008 19:32:57 GMT"
 ["server"]=>  string(9) "LiteSpeed" ["connection"]=>  string(5) "close" }
 }''

 At bottom of page:


 ''Available transports: Curl Streams Fopen Fsockopenarray(2) {
 ["response"]=>  array(2) { ["code"]=>  string(3) "200" ["message"]=>
 string(2) "OK" } ["headers"]=>  array(5) { ["content-type"]=>  string(25)
 "text/plain; charset=utf-8" ["content-length"]=>  string(1) "6" ["date"]=>
 string(29) "Sun, 07 Dec 2008 19:32:58 GMT" ["server"]=>  string(9)
 "LiteSpeed" ["connection"]=>  string(5) "close" } } $raw_response: Array (
 [headers] => Array ( [content-type] => text/plain; charset=utf-8 [content-
 length] => 6 [date] => Sun, 07 Dec 2008 19:32:58 GMT [server] => LiteSpeed
 [connection] => close ) [body] => a:0:{} [response] => Array ( [code] =>
 200 [message] => OK ) )''

-- 
Ticket URL: <http://trac.wordpress.org/ticket/8476#comment:35>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list