wp_get_attachment_url() is returning original image url after cropping
|Reported by:||ssandison||Owned by:|
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: