diff --git src/wp-includes/media.php src/wp-includes/media.php
index 9f35f79..b0378f1 100644
|
|
function wp_calculate_image_srcset( $size_array, $image_src, $image_meta, $attac |
1008 | 1008 | * If src is an intermediate size GIF, the full size is excluded from srcset to keep a flattened GIF from becoming animated. |
1009 | 1009 | */ |
1010 | 1010 | if ( ! isset( $image_sizes['thumbnail']['mime-type'] ) || 'image/gif' !== $image_sizes['thumbnail']['mime-type'] ) { |
1011 | | $image_sizes['full'] = array( |
| 1011 | $image_sizes[] = array( |
1012 | 1012 | 'width' => $image_meta['width'], |
1013 | 1013 | 'height' => $image_meta['height'], |
1014 | 1014 | 'file' => $image_basename, |