Make WordPress Core

Opened 5 days ago

Last modified 5 days ago

#63644 new defect (bug)

Twenty Seventeen: add PHPDoc block for the twentyseventeen_should_show_featured_image filter

Reported by: pmbaldha's profile pmbaldha Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.6
Component: Bundled Theme Keywords: has-patch
Focuses: docs Cc:

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 (2)

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


5 days ago
#1

  • Keywords has-patch added

#2 @sabernhardt
5 days ago

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

[58206] introduced twentyseventeen_should_show_featured_image

Note: See TracTickets for help on using tickets.