Opened 9 years ago
Closed 9 years ago
#37044 closed defect (bug) (invalid)
Featured image doesn't show in preview
Reported by: | paffel | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.5.1 |
Component: | Post Thumbnails | Keywords: | |
Focuses: | Cc: |
Description
The featured image doesn't show in the preview when a message hasn't been published yet. As soon as you publish the exact same message, the featured image shows.
What we found in the code:
has_post_thumbnail()
is failing because get_post_meta()
returns empty for scheduled posts.
I don't know why that is, suppose it is a bug.
Change History (4)
Note: See
TracTickets for help on using
tickets.
Hey there,
Welcome to WordPress Trac and thanks for your report!
Can you confirm that this happens with the latest version of WordPress, all plugins disabled and running one of the default themes? I've never seen
get_post_meta()
fail for scheduled posts, so I think it might be something else.