[wp-trac] [WordPress Trac] #39522: Avoidable PHP Warning thrown in _wp_handle_upload

WordPress Trac noreply at wordpress.org
Wed Jan 17 07:15:59 UTC 2018


#39522: Avoidable PHP Warning thrown in _wp_handle_upload
-------------------------------------+-----------------------------
 Reporter:  dglingren                |       Owner:  SergeyBiryukov
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  5.0
Component:  Media                    |     Version:  4.0
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"42525"]:
 {{{
 #!CommitTicketReference repository="" revision="42525"
 Media: In `_wp_handle_upload()`, check if the file was properly uploaded
 before checking its size.

 Props achbed, dglingren.
 Fixes #39522.
 }}}

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


More information about the wp-trac mailing list