Changes between Initial Version and Version 1 of Ticket #44789, comment 3
- Timestamp:
- 10/11/2018 02:55:59 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #44789, comment 3
initial v1 2 2 3 3 Anyways, started to work through unit tests but brief update (I'll upload a new patch when complete): 4 * Within else condition, passed $file param to basename() needs to be $file['file'] based on returned associative keys from wp_handle_sideload(). 4 * Within else condition, passed $file param to basename() needs to be 5 {{{ 6 $file['file'] 7 }}} 8 based on returned associative keys from wp_handle_sideload(). 5 9 * Still tracing origin, but $this->upload_from_data is returning a WP_Error instead of array after changing to $file['file']