Make WordPress Core

Changeset 50564


Ignore:
Timestamp:
03/23/2021 09:00:03 AM (4 years ago)
Author:
gziolo
Message:

Editor: Add new theme category for block types

Related: https://github.com/WordPress/gutenberg/pull/30020.

Introduces a new "theme" category to the default set to use with template-parts and other FSE blocks.

Props matveb.
Fixes #52883.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/post.php

    r50527 r50564  
    22082208        ),
    22092209        array(
     2210            'slug'  => 'theme',
     2211            'title' => _x( 'Theme', 'block category' ),
     2212            'icon'  => null,
     2213        ),
     2214        array(
    22102215            'slug'  => 'embed',
    22112216            'title' => _x( 'Embeds', 'block category' ),
Note: See TracChangeset for help on using the changeset viewer.