diff --git src/wp-admin/includes/image.php src/wp-admin/includes/image.php
index 56b9c0a36f..c011ad8b47 100644
|
|
function _wp_make_subsizes( $new_sizes, $file, $image_meta, $attachment_id ) { |
470 | 470 | * |
471 | 471 | * @param int $attachment_id Attachment Id to process. |
472 | 472 | * @param string $file Filepath of the Attached image. |
473 | | * @return mixed Metadata for attachment. |
| 473 | * @return array Metadata for attachment. |
474 | 474 | */ |
475 | 475 | function wp_generate_attachment_metadata( $attachment_id, $file ) { |
476 | 476 | $attachment = get_post( $attachment_id ); |