[wp-trac] [WordPress Trac] #20657: Custom Header Image Cropping deletes header images
WordPress Trac
wp-trac at lists.automattic.com
Fri May 11 16:49:44 UTC 2012
#20657: Custom Header Image Cropping deletes header images
--------------------------+-----------------------
Reporter: westi | Owner: ryan
Type: defect (bug) | Status: reopened
Priority: high | Milestone: 3.4
Component: Appearance | Version: 3.4
Severity: blocker | Resolution:
Keywords: needs-patch |
--------------------------+-----------------------
Changes (by SergeyBiryukov):
* keywords: has-patch => needs-patch
* status: closed => reopened
* resolution: fixed =>
Comment:
1. Add an image to Media Library which doesn't require cropping (1000x288
for Twenty Eleven).
2. Go to Appearance → Header, click "Choose from image library".
3. Select the image from point 1, click "Set as header", "Crop and
Publish".
4. Delete the new "Header Image" attachment from Media Library.
5. The original attachment is now orphaned (the files are deleted in point
4).
[attachment:20657.patch] (always run through cropping) seems to be the
safest way for now.
Or, `wp_crop_image()` should always copy the file under a different name,
even with no changes.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20657#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list