[wp-trac] [WordPress Trac] #39774: php 7.1 media uploader bug

WordPress Trac noreply at wordpress.org
Fri Feb 3 12:55:30 UTC 2017


#39774: php 7.1 media uploader bug
--------------------------+--------------------
 Reporter:  drrobotnik    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.7.3
Component:  Upload        |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+--------------------
Changes (by SergeyBiryukov):

 * milestone:  Awaiting Review => 4.7.3


Comment:

 Hi @drrobotnik, thanks for the ticket and the patch!

 `$number = ''` was added in [3255] and has not changed since then.

 Shouldn't it be `$number = 0` instead of `null` though?

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


More information about the wp-trac mailing list