[wp-trac] [WordPress Trac] #39302: Twenty Seventeen: Featured image not displayed on single template
WordPress Trac
noreply at wordpress.org
Tue Dec 20 20:56:56 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 davidakennedy):
I'm up for still committing the patch because, like you all said, it's a
good thing to harden. As for the comment, I could add that. Maybe this?
Using `get_queried_object_id()` here since the ` $post ` global may not be
set before a call to `the_post()`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39302#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list