WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #44789, comment 3


Ignore:
Timestamp:
10/11/2018 02:55:59 PM (3 years ago)
Author:
dryanpress
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #44789, comment 3

    initial v1  
    22
    33Anyways, 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().
    59* Still tracing origin, but $this->upload_from_data is returning a WP_Error instead of array after changing to $file['file']