[wp-trac] Re: [WordPress Trac] #8476: Wrong code in $raw_response?

WordPress Trac wp-trac at lists.automattic.com
Sun Dec 7 12:27:51 GMT 2008


#8476: 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:           |  
---------------------+------------------------------------------------------
Comment (by greps):

 Replying to [comment:13 scribu]:
 > Here's what I'm getting, using 2.7-RC1-10073.
 >
 >
 > {{{
 > Available transports:  Curl Streams Fopen Fsockopen
 >
 > $raw_response:
 > Array
 > (
 >     [headers] => Array
 >         (
 >         )
 >
 >     [body] => a:1:{s:43:"custom-field-images/custom-field-
 images.php";O:8:"stdClass":5:{s:2:"id";s:4:"3174";s:4:"slug";s:19:"custom-
 field-
 images";s:11:"new_version";s:7:"1.6.0.1";s:3:"url";s:56:"http://wordpress.org/extend/plugins
 /custom-field-
 images/";s:7:"package";s:61:"http://downloads.wordpress.org/plugin/custom-
 field-images.zip";}}
 >     [response] => Array
 >         (
 >             [code] => id
 >             [message] => #249
 >         )
 >
 > )
 > }}}
 >
 > When I tried this yesterday, the message was #175.

 I'm getting this with your plugin installed:

 Available transports: Curl Streams Fopen Fsockopen $raw_response: Array (
 [headers] => Array ( ) [body] =>
 a:1:{s:15:"stats/stats.php";O:8:"stdClass":5:{s:2:"id";s:3:"626";s:4:"slug";s:5:"stats";s:11:"new_version";s:5:"1.3.5";s:3:"url";s:42:"http://wordpress.org/extend/plugins/stats/";s:7:"package";s:53:"http://downloads.wordpress.org/plugin/stats.1.3.5.zip";}}
 [response] => Array ( [code] => id [message] => #96 ) )

 ...and now for whatever reason update info has actually been fetched:
 There is a new version of WordPress.com Stats available. View version
 1.3.5 Details or upgrade automatically.

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


More information about the wp-trac mailing list