[wp-trac] [WordPress Trac] #55580: Featured image in Cover block missing from published page

WordPress Trac noreply at wordpress.org
Fri Apr 15 03:40:01 UTC 2022

#55580: Featured image in Cover block missing from published page
 Reporter:  ironprogrammer               |       Owner:  (none)
     Type:  defect (bug)                 |      Status:  new
 Priority:  normal                       |   Milestone:  Awaiting Review
Component:  Editor                       |     Version:  trunk
 Severity:  normal                       |  Resolution:
 Keywords:  needs-patch has-screenshots  |     Focuses:

Comment (by ironprogrammer):

 == Test Report

 To reproduce this issue, please refer to the following test instructions.
 **Note that the Gutenberg plugin should NOT be active, or the issue will
 not be reproducible.**

 === Environment
 * WordPress 6.0-beta1-53184
 ([https://wordpress.org/wordpress-6.0-beta1.zip direct download] via `wp-
 * Safari 15.4
 * macOS 12.3.1 (Monterey)
 * Theme: Twenty Twenty-Two
 * Gutenberg DISABLED 🔴

 === Steps to Test
 1. Create a new post.
 2. In the **Settings** sidebar (opened via the "cog" icon), select the
 "Post" tab.
 3. Expand the "Featured image" section, and click "Set featured image".
 4. Select or upload an image, and click the **Set featured image** button
 when done.
 5. At the block inserter, add a new Cover block (e.g. by typing the
 `/cover` shortcut).
 6. In the block toolbar, select the "Use featured image" icon (adjacent to
 "Add Media").
 7. Observe that the featured image selected in Step 4 is displayed in the
 block. ✅
 8. Publish the post.
 9. Open the post on the frontend of the site, **and scroll past the
 template's default featured image, if present** (see note below).
 10. Observe that the Cover block background is gray, and does not display
 the featured image. ❌

 > IMPORTANT: If using the default Twenty Twenty-Two theme, note that the
 Single Post template will display the post's featured image directly below
 the post title. You will need to scroll past the template's featured image
 to see the Cover block for the post.

 === Expected Results (❌)
 - The featured image should be displayed in the Cover block on the
 frontend of the site, consistent with how it appears in the backend post

 === Additional Notes
 The above testing was performed in a new directory (fresh install),
 including only the WordPress 6.0 Beta 1 ZIP build and a sample JPEG image.

 === Screenshots
 Please see [#ticket originally reported screenshots].

Ticket URL: <https://core.trac.wordpress.org/ticket/55580#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list