mirror of
git://develop.git.wordpress.org/
synced 2025-02-28 18:43:03 +01:00
* When passing an attachment ID to wp_crop_image(), use load_image_to_edit() to fetch the image via a url fopen when the image does not exist in the filesystem. * Move load_image_to_edit() to wp-admin/includes/image.php so that it is always available for admin pages loads. * Fallback to the height and width stored in the attachment meta when the image no longer exists in the filesystem. see #19840 git-svn-id: https://develop.svn.wordpress.org/trunk@20384 602fd350-edb4-49c9-b593-d223f7449a82