WordPress.org

Make WordPress Core

Opened 12 months ago

Closed 10 months ago

Last modified 5 months ago

#45134 closed feature request (fixed)

Add theme support for new editor features

Reported by: desrosj Owned by: desrosj
Milestone: 5.0 Priority: normal
Severity: normal Version:
Component: Themes Keywords: fixed-5.0
Focuses: Cc:
PR Number:

Description (last modified by desrosj)

There are several new theme features that themes can add_theme_support() for.

These should be moved to core.

Documentation for these can be found on Github under Theme Extensibility.

Attachments (1)

45134.diff (713 bytes) - added by desrosj 12 months ago.

Download all attachments as: .zip

Change History (8)

#1 @desrosj
12 months ago

  • Description modified (diff)
  • Summary changed from Add theme support for editor color palettes to Add theme support for new editor features

@desrosj
12 months ago

#2 @desrosj
12 months ago

45134.diff updates the add_theme_support() function to document the new editor related features. This should land with/after gutenberg_editor_scripts_and_styles(), as this is the location these new features are utilized.

Related: #45125.

#3 @pento
12 months ago

In 43814:

Themes: Document the new theme features being added.

The add_theme_support() inline docs now includes the features that the block editor adds.

Props desrosj.
See #45134.

#4 @pento
12 months ago

  • Keywords fixed-5.0 added; needs-patch needs-unit-tests removed

#5 @SergeyBiryukov
12 months ago

  • Component changed from General to Themes

#6 @desrosj
10 months ago

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

In 44158:

Themes: Document the new theme features being added.

The add_theme_support() inline docs now includes the features that the block editor adds.

Props pento, desrosj.

Merges [43814] to trunk.

Fixes #45134.

#7 @johnbillion
5 months ago

In 45423:

Docs: Correct a theme feature name.

See #45134

Note: See TracTickets for help on using tickets.