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

WordPress Trac noreply at wordpress.org
Fri Nov 6 09:24:38 UTC 2015


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

 * owner:   => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"35554"]:
 {{{
 #!CommitTicketReference repository="" revision="35554"
 Media: Avoid a PHP warning in `wp_generate_attachment_metadata()` if
 `$metadata` is not an array.

 This was previously fixed in [25968], but accidentally reverted in
 [32545].

 Props skithund.
 Fixes #34599.
 }}}

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


More information about the wp-trac mailing list