[wp-trac] [WordPress Trac] #50866: Media Uploader Blows Up File Sizes
WordPress Trac
noreply at wordpress.org
Sat Sep 5 18:54:22 UTC 2020
#50866: Media Uploader Blows Up File Sizes
-------------------------------------+-------------------------------------
Reporter: hvar | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 5.4.2
Severity: major | Resolution:
Keywords: has-patch has-unit- | Focuses: administration,
tests dev-feedback needs-testing | performance
-------------------------------------+-------------------------------------
Changes (by Mista-Flo):
* keywords: needs-patch => has-patch has-unit-tests dev-feedback needs-
testing
Comment:
Hi there, I have uploaded a patch. It changes the behaviour of
`image_get_intermediate_size` function to return the originale file info
instead of the sub size if they share the exact same width and height.
I am not sure this need changes in other image functions. Please run some
tests.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50866#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list