Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #34430, comment 32


Ignore:
Timestamp:
11/03/2015 12:11:53 AM (8 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34430, comment 32

    initial v1  
    1 Actually not sure we need to check if `$image_meta['sizes']` is not empty in both `wp_get_attachment_image_srcset()` and `wp_calculate_image_srcset()`. It wouldn't make any change in the former and is the first conditional in the latter.
     1Actually not sure we need to check if `$image_meta['sizes']` is not empty in both `wp_get_attachment_image_srcset()` and `wp_calculate_image_srcset()`. It doesn't make any difference in the former and is the first conditional in the latter.