Patch: Improve error propagation from newMediaObject failure in xmlrpc.php
|Reported by:||redsweater||Owned by:|
I'm the developer of MarsEdit, a Mac desktop blogging application that works with WordPress. When my customers have trouble with the "upload image" functionality, the error responses from WordPress are lackluster. I tracked this down to a simple failure case in xmlrpc.php where the verbose error returned by wp_upload_bits is not being propagated out to the response text.
I'm attaching a proposed diff which addresses this. The diff is against /trunk/ as of today, but I would really love to see this integrated into the 2.1.x branch, because it will have a major impact on my customers' ability to debug MarsEdit interoperability with their WordPress blog.
Red Sweater Software
Change History (5)
comment:1 foolswisdom — 7 years ago
- Keywords has-patch added
- Milestone changed from 2.3 to 2.2
- Priority changed from normal to high