Make WordPress Core

#63644 closed defect (bug) (fixed)

Twenty Seventeen: add PHPDoc block for the twentyseventeen_should_show_featured_image filter

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

Description (last modified by sabernhardt)

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.

Change History (4)

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


17 months ago
#1

  • Keywords has-patch added

#2 @sabernhardt
17 months ago

  • Description modified (diff)
  • Focuses docs added; coding-standards removed
  • Summary Missing PHPDoc block for the twentyseventeen_should_show_featured_image filter in Twenty Seventeen theme → Twenty Seventeen: add PHPDoc block for the twentyseventeen_should_show_featured_image filter
  • Version → 6.6

[58206] introduced twentyseventeen_should_show_featured_image

#3 @SergeyBiryukov
16 months ago

  • Milestone Awaiting Review → 6.9

#4 @SergeyBiryukov
16 months ago

  • Owner set to SergeyBiryukov
  • Resolution → fixed
  • Status new → closed

In 60418:

Twenty Seventeen: Document the twentyseventeen_should_show_featured_image filter.

Follow-up to [58206].

Props pmbaldha, kishanjasani, mukesh27, sabernhardt, SergeyBiryukov.
Fixes #63644.

Note: See TracTickets for help on using tickets.