WordPress/wp-content/themes
David A. Kennedy 4177e37593 Twenty Seventeen: Hardens the logic for calling featured image in header.php
This change uses `get_queried_object_id()` here since the `$post` global may not be set before a call to `the_post()`.

Props westonruter.

Fixes #39302.

Built from https://develop.svn.wordpress.org/trunk@39624


git-svn-id: http://core.svn.wordpress.org/trunk@39564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-20 23:00:43 +00:00
..
twentyeleven Bundled Themes: Bump versions and update theme tags. 2016-07-31 16:37:32 +00:00
twentyfifteen Default Themes: Update version numbers and readme files for 4.7 release 2016-12-04 23:27:41 +00:00
twentyfourteen Default Themes: Update version numbers and readme files for 4.7 release 2016-12-04 23:27:41 +00:00
twentyseventeen Twenty Seventeen: Hardens the logic for calling featured image in header.php 2016-12-20 23:00:43 +00:00
twentyten Bundled Themes: Bump versions and update theme tags. 2016-07-31 16:37:32 +00:00
twentythirteen Default Themes: Update version numbers and readme files for 4.7 release 2016-12-04 23:27:41 +00:00
twentytwelve Default Themes: Update version numbers and readme files for 4.7 release 2016-12-04 23:27:41 +00:00
index.php Remove closing PHP tags from the rest of index.php files in wp-content, for consistency with wp-content/index.php. 2014-06-05 15:59:14 +00:00