WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 2 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:
PR Number:

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 4 years ago.

Download all attachments as: .zip

Change History (4)

@lenasterg
4 years ago

#1 @chriscct7
4 years ago

  • Version trunk deleted

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


2 years ago

#3 @joemcgill
2 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.