[wp-trac] [WordPress Trac] #20657: Custom Header Image Cropping deletes header images

WordPress Trac wp-trac at lists.automattic.com
Fri May 11 16:15:17 UTC 2012


#20657: Custom Header Image Cropping deletes header images
--------------------------+---------------------
 Reporter:  westi         |       Owner:  ryan
     Type:  defect (bug)  |      Status:  closed
 Priority:  high          |   Milestone:  3.4
Component:  Appearance    |     Version:  3.4
 Severity:  blocker       |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------
Changes (by ryan):

 * owner:   => ryan
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [20769]:
 {{{
 #!CommitTicketReference repository="" revision="20769"
 Check wp_crop_image() for a false return value. Don't delete original
 image if crop not sucessful. Don't delete the original image when
 wp_crop_image() returns it untouched. Prevents deletion of header image
 when no cropping is done to the originally uploaded image. Props
 SergeyBiryukov, westi. fixes #20657
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20657#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list