[wp-trac] [WordPress Trac] #56855: Featured Image bug in 6.0.3
WordPress Trac
noreply at wordpress.org
Wed Oct 19 19:32:06 UTC 2022
#56855: Featured Image bug in 6.0.3
--------------------------+-----------------------------
Reporter: raduiason | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 6.0.3
Severity: minor | Keywords:
Focuses: |
--------------------------+-----------------------------
Hi,
after the 6.0.3 update, the Featured Image block shows some bugs in
respect to image sizing. regardless of your choice of a “Scale” option, it
will always behave as if the selected option is “Fill”.
AFAIK this only happens in blocks inserted in the page, not default
blocks, built in the themes. It also seems to happen in hooks.
This also happens on clean fresh installs.
To replicate: create a new post, insert a Featured Image in it, set the
height at 100px and the scale as “Cover”. provided the image is taller
than 100px, it will be stretched in the preview and the live post.
To fix: reverting to 6.0.2 seems to have fixed it. i suppose inserting
some object-fit CSS should work as well, did not try it.
thanks,
R
PS i also created a forum topic before actually reading the "read this"
sticky :| https://wordpress.org/support/topic/featured-image-bug-in-6-0-3/
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56855>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list