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

WordPress Trac wp-trac at lists.automattic.com
Mon May 14 14:59:19 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:  has-patch     |
--------------------------+-----------------------

Comment (by ryan):

 Can $dst_file be constructed from $src_file when src_file is a url? Seems
 we'd need get_attached_file() to create the dst_file path and name and use
 _load_image_to_edit_path() as the source when doing the copy().

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


More information about the wp-trac mailing list