mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-01 21:21:24 +01:00
Twenty Seventeen: Updates docblock for function.
The new function twentyseventeen_should_show_featured_image was missing documentation for the custom filter. This brings that in. Props poena. Fixes #39281. Built from https://develop.svn.wordpress.org/trunk@58237 git-svn-id: http://core.svn.wordpress.org/trunk@57700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a22b094047
commit
2fba811824
@ -690,8 +690,17 @@ if ( ! function_exists( 'wp_get_list_item_separator' ) ) :
|
|||||||
endif;
|
endif;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* If a regular post or page, and not the front page, show the featured image below the header.
|
* Show the featured image below the header on single posts and pages, unless the
|
||||||
* Using get_queried_object_id() here since the $post global may not be set before a call to the_post().
|
* 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
|
* @since Twenty Seventeen 3.7
|
||||||
*
|
*
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user