Make WordPress Core

Opened 3 years ago

Last modified 13 months ago

#53014 new feature request

Health check should list all feature flags in core and show which features the current theme supports

Reported by: pbearne's profile pbearne Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 5.8
Component: Site Health Keywords:
Focuses: docs Cc:

Description (last modified by pbearne)

It would be nice to be a see what features your theme supports and to have links to core docs To explain what each feature flag does.

I see this as list of all features globally available (core and others) with ticks for each feature the current theme supports

Change History (10)

#1 @pbearne
3 years ago

  • Summary changed from Health check should list all feature fags in core and shown which feature the current theme support to Health check should list all feature fags in core and show which features the current theme support

#2 @pbearne
3 years ago

  • Summary changed from Health check should list all feature fags in core and show which features the current theme support to Health check should list all feature flags in core and show which features the current theme support

#3 @pbearne
3 years ago

  • Description modified (diff)

#4 @pbearne
3 years ago

  • Description modified (diff)
  • Summary changed from Health check should list all feature flags in core and show which features the current theme support to Health check should list all feature flags in core and show which features the current theme supports

#5 @vimes1984
3 years ago

  • Summary changed from Health check should list all feature flags in core and show which features the current theme supports to Health check should list all feature flags in core and show which features the current theme support

This would be great, other teams could then produce user and dev-facing documentation with regards to the feature encouraging overall searchability of the feature and encouraging adoption by end-users.

#7 @oglekler
3 years ago

I have no idea what is the right way to know in time about new support features and sometimes it is difficult to understand if something isn't working during development and it caused by the absence of this support declaration. Most times I am looking in WordPress default themes and other popular themes for this piece of information and something learning new 'tricks' or possibilities I happened to miss along the way but I doubt that it is the right way to get the information.

Version 0, edited 3 years ago by oglekler (next)

#8 @SergeyBiryukov
3 years ago

  • Summary changed from Health check should list all feature flags in core and show which features the current theme support to Health check should list all feature flags in core and show which features the current theme supports

This ticket was mentioned in Slack in #core by oglekler. View the logs.


3 years ago

#10 @Clorith
13 months ago

The current Site Health implementation will, in the debug information tab, show the active theme and which features it has self-declared (based on the tags field in the style.css file).

Although not always a 1-to-1 relationship with the add_theme_support() entry, this does feel like the more correct way to surface this kind of information, since they are tags the user can filter on in the themes screens, and gives a better understanding of what the theme does. Looking at it from another perspective, what would it tell the end user that html5, admin-bar, or editor-color-palette is defined in code?

Note: See TracTickets for help on using tickets.