diff --git src/wp-admin/includes/image.php src/wp-admin/includes/image.php
index 53848e4f41..a99dddddad 100644
|
|
function _wp_make_subsizes( $new_sizes, $file, $image_meta, $attachment_id, $mim |
631 | 631 | if ( ! isset( $image_meta['sizes'][ $created_size_name ]['sources'] ) ) { |
632 | 632 | $image_meta['sizes'][ $created_size_name ]['sources'] = array(); |
633 | 633 | } |
634 | | $image_meta['sizes'][ $created_size_name ]['sources'][ $mime_type ] = _wp_get_sources_from_meta( $new_size_meta ); |
| 634 | $image_meta['sizes'][ $created_size_name ]['sources'][ $mime_type ] = _wp_get_sources_from_meta( $created_size_meta ); |
635 | 635 | } |
636 | 636 | wp_update_attachment_metadata( $attachment_id, $image_meta ); |
637 | 637 | } |