Make WordPress Core

Opened 4 months ago

Closed 2 weeks ago

#63645 closed defect (bug) (fixed)

Twenty Nineteen: add PHPDoc block for the twentynineteen_can_show_post_thumbnail filter

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

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.


4 months ago
#1

  • Keywords has-patch added

#2 @sabernhardt
4 months ago

  • Description modified (diff)
  • Focuses docs added; coding-standards removed
  • Summary changed from Missing PHPDoc block for the twentynineteen_can_show_post_thumbnail filter in Twenty Ninteen theme to Twenty Nineteen: add PHPDoc block for the twentynineteen_can_show_post_thumbnail filter
  • Version set to 5.0

#3 @SergeyBiryukov
2 weeks ago

  • Milestone changed from Awaiting Review to 6.9

#4 @SergeyBiryukov
2 weeks ago

  • Owner set to SergeyBiryukov
  • Resolution set to fixed
  • Status changed from new to closed

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.