[wp-trac] [WordPress Trac] #35480: Some notice and warning in wp_calculate_image_srcset() function media.php

WordPress Trac noreply at wordpress.org
Wed Mar 16 02:33:36 UTC 2016


#35480: Some notice and warning in wp_calculate_image_srcset() function media.php
---------------------------------------------+------------------------
 Reporter:  overclokk                        |       Owner:  joemcgill
     Type:  defect (bug)                     |      Status:  reopened
 Priority:  normal                           |   Milestone:  4.5
Component:  Media                            |     Version:  4.4.1
 Severity:  normal                           |  Resolution:
 Keywords:  has-patch has-unit-tests commit  |     Focuses:  template
---------------------------------------------+------------------------
Changes (by joemcgill):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 [attachment:35480.3.patch] also catches cases where `$image_meta['file']`
 is completely missing. Otherwise, we could still get indexing errors. Also
 updates unit tests.

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


More information about the wp-trac mailing list