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

WordPress Trac noreply at wordpress.org
Mon Jan 9 09:44:26 UTC 2017


#39522: Avoidable PHP Warning thrown in _wp_handle_upload
--------------------------+------------------------------
 Reporter:  dglingren     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by achbed):

 That's odd.  We're checking for content size before we check for file
 existence.  We should probably reverse the order of the tests.

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


More information about the wp-trac mailing list