Make WordPress Core

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#12082 closed defect (bug) (fixed)

Insert edited image not working correctly using Wordpress Mu 2.9.1.1

Reported by: recoilfx Owned by: donncha
Priority: normal Milestone: MU 2.9.x
Component: Media Version: 2.9.1
Severity: normal Keywords:
Cc: Focuses:

Description

If you try to insert a full size image that has been edited inside Wordpress Mu 2.9.1.1, it will insert the original image instead. Links to the image is also incorrectly pointed to the original image.

Change History (6)

#1 @recoilfx
17 years ago

  • Owner set to recoilfx
  • Status newassigned

It seems that wp_get_attachment_url() at wp-includes/post.php is the culprit. Uncomment line 2981 - 2982 and the image urls will be correctly returned.

#2 @donncha
17 years ago

  • Owner changed from recoilfx to donncha

#3 @donncha
17 years ago

We have to be careful with this one. This code <a href="http://trac.mu.wordpress.org/changeset/1942">was commented out</a> originally <a href="http://trac.mu.wordpress.org/ticket/1090">to fix #1090</a>. At the time files weren't edited so it wasn't an issue.

#5 @donncha
17 years ago

  • Resolutionfixed
  • Status assignedclosed

Fixed this in MU in http://trac.mu.wordpress.org/changeset/2064 - thanks Ryan!

#6 @nacin
17 years ago

  • Milestone UnassignedMU 2.9.x
Note: See TracTickets for help on using tickets.