[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 22:00:15 UTC 2014


#28932: $file_array variable is never assigned as an array in
media_sideload_image()
-----------------------------+-----------------------------
 Reporter:  danielbachhuber  |       Owner:  SergeyBiryukov
     Type:  defect (bug)     |      Status:  closed
 Priority:  lowest           |   Milestone:  4.0
Component:  General          |     Version:
 Severity:  minor            |  Resolution:  fixed
 Keywords:  has-patch        |     Focuses:
-----------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:   => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"29215"]:
 {{{
 #!CommitTicketReference repository="" revision="29215"
 Declare the variable before using it.

 props danielbachhuber.
 fixes #28932.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28932#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list