Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #35480, comment 11


Ignore:
Timestamp:
03/11/2016 10:49:39 PM (9 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35480, comment 11

    v1 v2  
    22> I'm not sure if wp_calculate_image_srcset() needs to handle this case though.
    33
    4 Right. To work, `wp_calculate_image_srcset()` needs all of the meta. Bypassing the image when some meta is missing or the meta is corrupted seems best.
     4Right. To work, `wp_calculate_image_srcset()` needs all of the meta. Bypassing the image when some meta is missing or corrupted seems best.
    55
    66The `is_array( $image )` check is good, needs another for the image file name.