[wp-testers] Upload via XMLRPC broken in 2.0

ecto Support ecto at kung-foo.tv
Thu Dec 29 02:30:51 GMT 2005


Good, that does it! (How did this bug ever make it in the final 2.0  
release?)

I still wonder why it was decided to complete change the upload  
directory structure. Previously users could specify a subdirectory  
such as <value><string>images/testfile.jpg</string></value>, which  
now gives errors. Also, such date-based uploads prevents users to  
overwrite earlier uploads. IMHO, it is a bad change.

Adriaan

On Dec 29, 2005, at 11:00, Ryan Boren wrote:

> 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
>
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers



More information about the wp-testers mailing list