[wp-testers] Upload via XMLRPC broken in 2.0

Ryan Boren ryan at boren.nu
Thu Dec 29 02:00:20 GMT 2005


On Thu, 2005-12-29 at 10:55 +0900, ecto Support wrote:
> Actually, the file gets uploaded, but the xmlrpc function still  
> returns an error.

Okay, try this in wp_upload_bits():

-       return array('file' => $new_file, 'url' => $url);
+       return array('file' => $new_file, 'url' => $url, 'error' =>
false);

Ryan



More information about the wp-testers mailing list