Make WordPress Core

Opened 11 years ago

Closed 9 years ago

#35602 closed enhancement (invalid)

Fix suggestion for edit Media feature in some multisite installations

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

Description

Hi.
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.

Thanks
Lena

Attachments (1)

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

Download all attachments as: .zip

Change History (4)

@lenasterg
11 years ago

#1 @chriscct7
10 years ago

  • Version trunk

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


9 years ago

#3 @joemcgill
9 years ago

  • Milestone Awaiting Review
  • Resolutioninvalid
  • Status newclosed

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.