[wp-trac] [WordPress Trac] #63645: Twenty Nineteen: add PHPDoc block for the twentynineteen_can_show_post_thumbnail filter (was: Missing PHPDoc block for the twentynineteen_can_show_post_thumbnail filter in Twenty Ninteen theme)
WordPress Trac
noreply at wordpress.org
Tue Jul 1 23:39:43 UTC 2025
#63645: Twenty Nineteen: add PHPDoc block for the
twentynineteen_can_show_post_thumbnail filter
---------------------------+------------------------------
Reporter: pmbaldha | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version: 5.0
Severity: normal | Resolution:
Keywords: has-patch | Focuses: docs
---------------------------+------------------------------
Changes (by sabernhardt):
* focuses: coding-standards => docs
* version: => 5.0
Old description:
> The Twenty Nineteen 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/twentynineteen/inc/helper-
> functions.php#L14.
>
> 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 Nineteen theme lacks a PHPDoc block for the
`twentynineteen_can_show_post_thumbnail` filter.
For more information, refer to https://github.com/WordPress/wordpress-
develop/blob/6.8.1/src/wp-content/themes/twentynineteen/inc/helper-
functions.php#L14.
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.
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63645#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list