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
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers

_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers

Reply via email to