[wp-trac] Re: [WordPress Trac] #8610: Plugin update API error, incorrect URL

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 14 10:37:54 GMT 2009


#8610: Plugin update API error, incorrect URL
---------------------------+------------------------------------------------
 Reporter:  DD32           |        Owner:  mdawaffe
     Type:  defect (bug)   |       Status:  closed  
 Priority:  normal         |    Milestone:          
Component:  WordPress.org  |      Version:          
 Severity:  normal         |   Resolution:  fixed   
 Keywords:                 |  
---------------------------+------------------------------------------------
Comment (by DD32):

 Oh, Seems the 404 error is still there, Use this exact code in a
 theme/plugin to see the result:

 {{{
 <?php

 $url = 'http://downloads.wordpress.org/themes/something.zip';

 $res = wp_remote_get($url);
 var_dump($res);

 ?>
 array
   'headers' =>
     array
       'content-type' => string 'text/html' (length=9)
       'content-length' => string '18' (length=2)
       'date' => string 'Wed, 14 Jan 2009 10:36:37 GMT' (length=29)
       'server' => string 'LiteSpeed' (length=9)
       'connection' => string 'close' (length=5)
   'body' => string '404 File not found' (length=18)
   'response' =>
     array
       'code' => int 200
       'message' => string 'OK' (length=2)
 }}}

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


More information about the wp-trac mailing list