Changes between Version 1 and Version 2 of Ticket #35480, comment 11
- Timestamp:
- 03/11/2016 10:49:39 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #35480, comment 11
v1 v2 2 2 > I'm not sure if wp_calculate_image_srcset() needs to handle this case though. 3 3 4 Right. To work, `wp_calculate_image_srcset()` needs all of the meta. Bypassing the image when some meta is missing or the meta iscorrupted seems best.4 Right. To work, `wp_calculate_image_srcset()` needs all of the meta. Bypassing the image when some meta is missing or corrupted seems best. 5 5 6 6 The `is_array( $image )` check is good, needs another for the image file name.