Make WordPress Core

Opened 5 years ago

Closed 4 years ago

#35602 closed enhancement (invalid)

Fix suggestion for edit Media feature in some multisite installations

Reported by: lenasterg Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Media Keywords:
Focuses: administration, multisite Cc:


I have a multisite installation and ran into a problem with previewing the image when trying to use Edit Media feature of WordPress in order to flip, crop or otherwise edit image.
Example screenshot http://www.linuxbookpro.com/wp-content/uploads/2014/06/edit-image-error.jpg

I noticed that in the support forum there are others with the same problem, which is cause by plugins or themes which have php closing tags. But since it is a rather common problem and can be fixed in core, I thought I submitted for the core.

The suggested fix is from the https://wordpress.org/support/topic/admin-ajaxphp-imgedit-preview-header-problem (so props, if accepted goes to @hugofcampos).
It basically cleans the output buffering before changing the header and creating the image.


Attachments (1)

35602_01.patch (475 bytes) - added by lenasterg 5 years ago.

Download all attachments as: .zip

Change History (4)

5 years ago

#1 @chriscct7
5 years ago

  • Version trunk deleted

This ticket was mentioned in Slack in #core-media by desrosj. View the logs.

4 years ago

#3 @joemcgill
4 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed

Hi @lenasterg,

Thanks for raising the issue. However, this really is an issue that needs to be fixed by plugins which cause the errors and not something that can be safely handled in core in the way suggested in the forums.

Note: See TracTickets for help on using tickets.