[wp-trac] [WordPress Trac] #12330: wp_get_attachment_url() is returning original image url after cropping

WordPress Trac wp-trac at lists.automattic.com
Mon Feb 22 09:34:43 UTC 2010


#12330: wp_get_attachment_url() is returning original image url after cropping
--------------------------+-------------------------------------------------
 Reporter:  ssandison     |       Owner:            
     Type:  defect (bug)  |      Status:  new       
 Priority:  normal        |   Milestone:  Unassigned
Component:  Media         |     Version:            
 Severity:  normal        |    Keywords:  has-patch 
--------------------------+-------------------------------------------------
 I noticed this by uploading an image in posts/pages and cropping it. When
 clicking "Insert to post" the wrong image url is sent to the editor. This
 bug seems to affect MU and WP 3 alpha but not WP 2.9.

 I have patched wp_get_attachment_url() to work with both upload directory
 styles.

 The issue has been discussed on the MU forums:

 http://mu.wordpress.org/forums/topic/16428?replies=10

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12330>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list