WordPress.org

Make WordPress Core

#50657 closed defect (bug) (fixed)

List sub-parameter for parameter $feature in DocBlock for current_theme_supports()

Reported by: stevenlinx Owned by: SergeyBiryukov
Milestone: 5.5 Priority: normal
Severity: normal Version:
Component: Themes Keywords: has-patch
Focuses: docs Cc:

Description

The possible values are in the apply_filter DocBlock in function source code:
"Possible values include 'post-formats', 'post-thumbnails', 'custom-background', 'custom-header', 'menus', 'automatic-feed-links', 'html5', 'starter-content', and 'customize-selective-refresh-widgets'."

DevHub:
https://developer.wordpress.org/reference/functions/current_theme_supports/

Attachments (1)

50657.diff (937 bytes) - added by stevenlinx 16 months ago.

Download all attachments as: .zip

Change History (4)

@stevenlinx
16 months ago

#1 @stevenlinx
16 months ago

  • Keywords has-patch added; needs-patch removed

#2 @SergeyBiryukov
16 months ago

  • Milestone changed from Awaiting Review to 5.5

#3 @SergeyBiryukov
16 months ago

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

In 48490:

Docs: Link to add_theme_support() for the list of supported theme features in current_theme_supports() and related functions.

Props stevenlinx.
Fixes #50657.

Note: See TracTickets for help on using tickets.