[wp-trac] [WordPress Trac] #37044: Featured image doesn't show in preview
WordPress Trac
noreply at wordpress.org
Tue Jun 7 09:00:32 UTC 2016
#37044: Featured image doesn't show in preview
-----------------------------+-----------------------------
Reporter: paffel | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Post Thumbnails | Version: 4.5.1
Severity: normal | Keywords:
Focuses: |
-----------------------------+-----------------------------
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37044>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list