Opened 16 years ago
Closed 16 years ago
#12330 closed defect (bug) (fixed)
wp_get_attachment_url() is returning original image url after cropping
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 3.0 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Media | Keywords: | has-patch |
| Focuses: | multisite | Cc: |
Description
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:
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
I tested this with WP trunk and the correct image is being inserted into the post. There were a few other patches that went in related to issues with upload/media. One of those must have corrected the issue.
Leaving ticket here for now as there may be another minor release of MU before 3.0 is released.