[WP 6.6-RC1] Featured Image Media Modal only shows the latest uploaded image #63058
Labels
[Block] Post Featured Image
Affects the Post Featured Image Block
[Feature] Media
Anything that impacts the experience of managing media
[Priority] Highest (OMGBBQ)
Used to indicate widespread, critical issues that need immediate attention
[Type] Bug
An existing feature does not function as intended
[Type] Regression
Related to a regression in the latest release
Description
When setting a featured image using the post/page settings, only the last uploaded image is displayed in the media library modal:
This happens on WordPress 6.6-RC1 and with and without the Gutenberg plugin active.
The following JavaScript error is being displayed on the browser console:
Props to @mrfoxtalbot for finding out about this issue.
Step-by-step reproduction instructions
Set features image
button.Screenshots, screen recording, code snippet
Screen recording with the steps to reproduce this error:
Screen.Capture.on.2024-07-02.at.15-37-54.mp4
Environment info
WordPress Version: 6.6-RC1
Theme: Twenty Twenty-FourVersion: 1.1
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: