[wp-trac] [WordPress Trac] #34599: PHP warning in wp-admin/includes/images.php

WordPress Trac noreply at wordpress.org
Fri Nov 6 08:44:47 UTC 2015


#34599: PHP warning in wp-admin/includes/images.php
--------------------------+------------------------------
 Reporter:  skithund      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  4.3
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------

Comment (by dd32):

 Replying to [comment:3 skithund]:
 > The array is set, but missing `image` (and `data`). Here's a $metadata
 from an audio/mp3.

 That won't cause a PHP notice or warning under any version of PHP.
 What will is when the `$metadata` value is `false` as mentioned on the
 original ticket, and shown here: https://3v4l.org/YNBIg (Note, that the
 only warning is line 8, and although notices are shown, none are shown for
 line 4)

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


More information about the wp-trac mailing list