#3981 closed enhancement (fixed)
Patch: Improve error propagation from newMediaObject failure in xmlrpc.php
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 2.1.3 | Priority: | high |
| Severity: | normal | Version: | 2.1.2 |
| Component: | XML-RPC | Keywords: | has-patch |
| Focuses: | Cc: |
Description
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.
Daniel Jalkut
Red Sweater Software
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
Diffs to enhance verbose error propagation from newMediaObject failure.