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

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


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

Change History (6)

#1 @recoilfx
6 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.

#2 @donncha
6 years ago

  • Owner changed from recoilfx to donncha

#3 @donncha
6 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
6 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!

#6 @nacin
6 years ago

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