WordPress.org

Make WordPress Core

Changes between Initial Version and Version 8 of Ticket #22985


Ignore:
Timestamp:
12/19/12 20:00:00 (19 months ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22985

    • Property Status changed from new to assigned
    • Property Severity changed from major to critical
    • Property Priority changed from normal to high
    • Property Keywords has-patch added
    • Property Milestone changed from Awaiting Review to 3.5.1
    • Property Owner set to markoheijnen
  • Ticket #22985 – Description

    initial v8  
    11I have several additional image sizes in my theme. When I crop an image and save over only the thumbnail, all references to the various sub-sizes are lost and only the new thumbnail is referenced in _wp_attachment_metadata. 
    22 
    3 Add an image to the media library. 
    4 Output _wp_attachment_metadata. 
    5 Edit the image (crop). 
    6 Save only the thumbnail. 
    7 Output the relevant _wp_attachment_metadata. 
     31. Add an image to the media library. 
     42. Output _wp_attachment_metadata. 
     53. Edit the image (crop). 
     64. Save only the thumbnail. 
     75. Output the relevant _wp_attachment_metadata. 
    88 
    99This may be an issue with wp_save_image() not re-genarating subsizes from the original.