[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 21:44:31 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: Awaiting Review
Component: Upload | Version: trunk
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
When a registered image sub-size is larger than the big image threshold,
it is still used to create the sub-sizes in `wp_create_image_subsizes()`
but not in `wp_update_image_subsizes()`.
Happens because `wp_get_missing_image_subsizes()` only looks at the
existing image meta and doesn't take into account the original image
dimensions.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48518>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list