[wp-trac] [WordPress Trac] #55290: Not all image edits are applied to all subsizes
WordPress Trac
noreply at wordpress.org
Fri Feb 3 22:20:26 UTC 2023
#55290: Not all image edits are applied to all subsizes
-------------------------------------+-------------------------------------
Reporter: mitogh | Owner: joedolson
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 6.2
Component: Media | Version: 5.9.1
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: administration,
needs-unit-tests | performance
-------------------------------------+-------------------------------------
Comment (by adamsilverstein):
> I just tested it on WordPress trunk 6.2.0 with and without the latest
patch, and it works. I didn't encounter any issues during my testing.
I tested this with the latest patch applied and still see the issue. The
medium_large rotated image is not created.
- note: use the original image attached to this ticket for testing. use
the default wp theme with no plugins active.
- after uploading, check the uploads folder and see which image seizes
were created.
- edit the image, rotate 90 degrees and save
- note the newly created rotated versions - there is one fewer version
the image is excluded because it violates the out of bounds check in
`image_resize_dimensions`
[https://github.com/WordPress/WordPress/blob/4efd5d56238de102d4021ad133c1d68f192c052f
/wp-includes/media.php#L562-L566 here]. As far as I can tell the patches
don't address this, so it needs more testing. Also, this definitely needs
unit tests that validate the issue and the fix.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55290#comment:26>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list