mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-31 18:54:29 +00: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
32 KiB
32 KiB