Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#37044 closed defect (bug) (invalid)

Featured image doesn't show in preview

Reported by: paffel's profile paffel Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.5.1
Component: Post Thumbnails Keywords:
Focuses: Cc:


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)

#1 @paffel
8 years ago

  • Severity changed from normal to critical

#2 @swissspidy
8 years ago

  • Severity changed from critical to normal

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.

#3 @paffel
8 years ago

I'm sorry, I just found out that it is actually the 'custom field template' plugin that is causing this issue.

#4 @swissspidy
8 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.