[wp-trac] [WordPress Trac] #48518: Inconsistent behavior when a registered image size is larger than the big image threshold
WordPress Trac
noreply at wordpress.org
Wed Nov 6 22:04:40 UTC 2019
#48518: Inconsistent behavior when a registered image size is larger than the big
image threshold
-----------------------------------+---------------------
Reporter: azaozz | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.3
Component: Upload | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion | Focuses:
-----------------------------------+---------------------
Changes (by azaozz):
* keywords: => has-patch 2nd-opinion
* milestone: Awaiting Review => 5.3
Comment:
Moving to 5.3 as it is an inconsistency with the new "big image" handling.
In 48518.diff: when an image was scaled because it is larger than the big
image threshold, use the originally uploaded image's dimensions in
`wp_get_missing_image_subsizes()`. This fixes an edge case/inconsistent
behaviour when a registered image sub-size is also larger than the big
image threshold.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48518#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list