[wp-trac] [WordPress Trac] #28932: $file_array variable is never assigned as an array in media_sideload_image()
WordPress Trac
noreply at wordpress.org
Thu Jul 17 13:33:57 UTC 2014
#28932: $file_array variable is never assigned as an array in
media_sideload_image()
-----------------------------+-----------------------
Reporter: danielbachhuber | Owner:
Type: defect (bug) | Status: new
Priority: lowest | Milestone: 4.0
Component: General | Version:
Severity: minor | Keywords: has-patch
Focuses: |
-----------------------------+-----------------------
In `media_sideload_image()`, the `$file_array` variable isn't created as
an array. It should be, to ensure it never inherits values from a
similarly named variable in later refactoring.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28932>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list