Make WordPress Core

Changeset 48119

Timestamp:
06/22/2020 02:05:36 PM (4 years ago)
Author:
ellatrix
Message:

Editor: Update default block categories

See https://github.com/WordPress/gutenberg/pull/19279.

Props aduth, gziolo.
Fixes #50278.

File:
1 edited

Legend:

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

    r48117 r48119  
    21802180    $default_categories = array(
    21812181        array(
    2182             'slug'  => 'common',
    2183             'title' => __( 'Common Blocks' ),
     2182            'slug'  => '',
     2183            'title' => _' ),
    21842184            'icon'  => null,
    21852185        ),
    21862186        array(
    2187             'slug'  => 'formatting',
    2188             'title' => __( 'Formatting' ),
     2187            'slug'  => '',
     2188            'title' => _' ),
    21892189            'icon'  => null,
    21902190        ),
    21912191        array(
    2192             'slug'  => 'layout',
    2193             'title' => __( 'Layout Elements' ),
     2192            'slug'  => '',
     2193            'title' => _' ),
    21942194            'icon'  => null,
    21952195        ),
    21962196        array(
    21972197            'slug'  => 'widgets',
    2198             'title' => __( 'Widgets' ),
     2198            'title' => _' ),
    21992199            'icon'  => null,
    22002200        ),
    22012201        array(
    22022202            'slug'  => 'embed',
    2203             'title' => __( 'Embeds' ),
     2203            'title' => _' ),
    22042204            'icon'  => null,
    22052205        ),
    22062206        array(
    22072207            'slug'  => 'reusable',
    2208             'title' => __( 'Reusable Blocks' ),
     2208            'title' => _' ),
    22092209            'icon'  => null,
    22102210        ),
Note: See TracChangeset for help on using the changeset viewer.