[wp-trac] [WordPress Trac] #52171: Featured image error in media library, detached.
WordPress Trac
noreply at wordpress.org
Thu Jan 29 11:00:24 UTC 2026
#52171: Featured image error in media library, detached.
---------------------------+------------------------------
Reporter: hobbiasztalos | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Gallery | Version: 5.6
Severity: normal | Resolution:
Keywords: | Focuses:
---------------------------+------------------------------
Changes (by r1k0):
* keywords: needs-testing =>
Comment:
== Reproduction Report
=== Environment
- WordPress: 6.9
- PHP: 8.4.17
- Server: PHP.wasm
- Database: WP_SQLite_Driver (Server: 8.0.38 / Client: 3.51.0)
- Browser: Chrome 144.0.0.0
- OS: Windows 10/11
- Theme: Twenty Twenty-Five 1.4
- MU Plugins: None activated
- Plugins:
* Test Reports 1.2.1
=== Steps taken
1. Head over to **Posts > Add Post**, click the **Set featured image**
button.
2. Upload/drop an image in the media modal.
3. Publish the post.
4. Go to **Media > Library**, change the viewing mode to list.
5. Look for the image you just uploaded and look under **Uploaded to**
column.
6. ❌ Bug is not occurring
=== Expected behavior
- The featured image should be attached to the post we set it in.
=== Additional Notes
- None
=== Screenshots:
[[Image(https://i.ibb.co/Df9w5WnH/attach-featured-image.png)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52171#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list