WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 6 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
Milestone: MU 2.9.x Priority: normal
Severity: normal Version: 2.9.1
Component: Media Keywords:
Focuses: Cc:

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)

comment:1 @recoilfx6 years ago

  • Owner set to recoilfx
  • Status changed from new to assigned

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.

comment:2 @donncha6 years ago

  • Owner changed from recoilfx to donncha

comment:3 @donncha6 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.

comment:5 @donncha6 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

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

comment:6 @nacin6 years ago

  • Milestone changed from Unassigned to MU 2.9.x
Note: See TracTickets for help on using tickets.