Opened 11 years ago
Last modified 6 years ago
#24934 assigned enhancement
More flexible response reporting in wp-plupload.js
Reported by: | ippetkov | Owned by: | |
---|---|---|---|
Milestone: | Future Release | Priority: | normal |
Severity: | normal | Version: | 3.6 |
Component: | Upload | Keywords: | needs-patch |
Focuses: | Cc: |
Description
The wp-plupload.js wrapper to the plupload library only returns server responses to bound callbacks in the case of a well formed error (the server responds with { success: false }
).
Sometimes it may be useful to receive additional information from the server on successful upload. I have prepared a patch that allows for the success
and error
callbacks to receive server responses.
Attachments (1)
Change History (11)
#1
@
9 years ago
- Keywords needs-refresh needs-testing added
- Milestone changed from Awaiting Review to 4.4
- Owner set to chriscct7
- Status changed from new to assigned
#2
@
9 years ago
- Keywords needs-refresh needs-testing removed
- Owner changed from chriscct7 to wonderboymusic
#6
@
9 years ago
On a successful upload, false-positive errors are propagating to the front end. Uploads that were successful aren't appearing until a full-page refresh.
Note: See
TracTickets for help on using
tickets.
In 34009: