Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#50657 closed defect (bug) (fixed)

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

Reported by: stevenlinx's profile stevenlinx Owned by: sergeybiryukov's profile 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 5 years ago.

Download all attachments as: .zip

Change History (4)

@stevenlinx
5 years ago

#1 @stevenlinx
5 years ago

  • Keywords has-patch added; needs-patch removed

#2 @SergeyBiryukov
5 years ago

  • Milestone changed from Awaiting Review to 5.5

#3 @SergeyBiryukov
5 years 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.