Make WordPress Core

#63645 closed defect (bug) (fixed)

Twenty Nineteen: add PHPDoc block for the twentynineteen_can_show_post_thumbnail filter

Reported by: pmbaldha Owned by: SergeyBiryukov
Priority: normal Milestone: 6.9
Component: Bundled Theme Version: 5.0
Severity: normal Keywords: has-patch
Cc: Focuses: docs

Description (last modified by sabernhardt)

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.

Change History (4)

This ticket was mentioned in PR #9168 on WordPress/wordpress-develop by @pmbaldha.


14 months ago
#1

  • Keywords has-patch added

#2 @sabernhardt
14 months ago

  • Description modified (diff)
  • Focuses docs added; coding-standards removed
  • Summary Missing PHPDoc block for the twentynineteen_can_show_post_thumbnail filter in Twenty Ninteen themeTwenty Nineteen: add PHPDoc block for the twentynineteen_can_show_post_thumbnail filter
  • Version5.0

#3 @SergeyBiryukov
10 months ago

  • Milestone Awaiting Review6.9

#4 @SergeyBiryukov
10 months ago

  • Owner set to SergeyBiryukov
  • Resolutionfixed
  • Status newclosed

In 61062:

Twenty Nineteen: Document the twentynineteen_can_show_post_thumbnail filter.

Follow-up to [43808].

Props pmbaldha, sabernhardt, kishanjasani, mukesh27.
Fixes #63645.

Note: See TracTickets for help on using tickets.