diff --git a/wp-content/themes/twentyseventeen/functions.php b/wp-content/themes/twentyseventeen/functions.php index fcc9f78ebd..968c4a675f 100644 --- a/wp-content/themes/twentyseventeen/functions.php +++ b/wp-content/themes/twentyseventeen/functions.php @@ -690,8 +690,17 @@ if ( ! function_exists( 'wp_get_list_item_separator' ) ) : endif; /** - * If a regular post or page, and not the front page, show the featured image below the header. - * Using get_queried_object_id() here since the $post global may not be set before a call to the_post(). + * Show the featured image below the header on single posts and pages, unless the + * page is the front page. + * + * Use the filter `twentyseventeen_should_show_featured_image` in a child theme or + * plugin to change when the image is shown. This example prevents the image + * from showing: + * + * add_filter( + * 'twentyseventeen_should_show_featured_image', + * '__return_false' + * ); * * @since Twenty Seventeen 3.7 * diff --git a/wp-includes/version.php b/wp-includes/version.php index a99bd7de9e..0baf3eb2b9 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.6-alpha-58236'; +$wp_version = '6.6-alpha-58237'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.