[wp-trac] [WordPress Trac] #63644: Twenty Seventeen: add PHPDoc block for the twentyseventeen_should_show_featured_image filter (was: Missing PHPDoc block for the twentyseventeen_should_show_featured_image filter in Twenty Seventeen theme)
WordPress Trac
noreply at wordpress.org
Tue Jul 1 23:29:32 UTC 2025
#63644: Twenty Seventeen: add PHPDoc block for the
twentyseventeen_should_show_featured_image filter
---------------------------+------------------------------
Reporter: pmbaldha | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version: 6.6
Severity: normal | Resolution:
Keywords: has-patch | Focuses: docs
---------------------------+------------------------------
Changes (by sabernhardt):
* focuses: coding-standards => docs
* version: => 6.6
Old description:
> The Twenty Seventeen theme lacks a PHPDoc block for the
> twentyseventeen_should_show_featured_image filter. For more information,
> refer to https://github.com/WordPress/wordpress-develop/blob/trunk/src
> /wp-content/themes/twentyseventeen/functions.php#L711.
>
> Please add the PHPDoc block for it as described on
> https://developer.wordpress.org/coding-standards/inline-documentation-
> standards/php/#4-hooks-actions-and-filters.
New description:
The Twenty Seventeen theme lacks a PHPDoc block for the
`twentyseventeen_should_show_featured_image` filter. For more information,
refer to https://github.com/WordPress/wordpress-develop/blob/6.8.1/src/wp-
content/themes/twentyseventeen/functions.php#L711.
Please add the PHPDoc block for it as described on
https://developer.wordpress.org/coding-standards/inline-documentation-
standards/php/#4-hooks-actions-and-filters.
--
Comment:
[58206] introduced `twentyseventeen_should_show_featured_image`
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63644#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list