Opened 4 years ago
Closed 2 years ago
#35602 closed enhancement (invalid)
Fix suggestion for edit Media feature in some multisite installations
Reported by: |
|
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
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.