[wp-trac] [WordPress Trac] #39302: Twenty Seventeen: Featured image not displayed on single template
WordPress Trac
noreply at wordpress.org
Sat Dec 17 01:07:03 UTC 2016
#39302: Twenty Seventeen: Featured image not displayed on single template
---------------------------+----------------------------
Reporter: westonruter | Owner: davidakennedy
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.7.1
Component: Bundled Theme | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
---------------------------+----------------------------
Comment (by westonruter):
Humm. I can't reproduce this anymore either. It might have been a plugin
that failed to do `wp_reset_postdata()` before `get_header()` is called.
Nevertheless I think the theme would be more robust if it explicitly
referenced the main queried post rather than assume that `$post` global is
set.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39302#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list