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

WordPress Trac noreply at wordpress.org
Tue Jan 10 00:29:43 UTC 2017


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

 * milestone:  Awaiting Review => 4.8


Comment:

 I'm not sure the `is_readable()` change from `is_file()` is needed, but I
 don't see the harm in it.

 Marking this for 4.8 as those two blocks really do seem to be reversed.

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


More information about the wp-trac mailing list