Make WordPress Core


Ignore:
Timestamp:
10/31/2018 11:34:01 AM (6 years ago)
Author:
danielbachhuber
Message:

Blocks: Include necessary labels for the 'wp_block' post type.

See #45098

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0/src/wp-includes/post.php

    r43827 r43849  
    230230        array(
    231231            'labels'                => array(
    232                 'name'          => __( 'Blocks' ),
    233                 'singular_name' => __( 'Block' ),
    234                 'search_items'  => __( 'Search Blocks' ),
     232                'name'                     => _x( 'Blocks', 'post type general name' ),
     233                'singular_name'            => _x( 'Block', 'post type singular name' ),
     234                'menu_name'                => _x( 'Blocks', 'admin menu' ),
     235                'name_admin_bar'           => _x( 'Block', 'add new on admin bar' ),
     236                'add_new'                  => _x( 'Add New', 'Block' ),
     237                'add_new_item'             => __( 'Add New Block' ),
     238                'new_item'                 => __( 'New Block' ),
     239                'edit_item'                => __( 'Edit Block' ),
     240                'view_item'                => __( 'View Block' ),
     241                'all_items'                => __( 'All Blocks' ),
     242                'search_items'             => __( 'Search Blocks' ),
     243                'not_found'                => __( 'No blocks found.' ),
     244                'not_found_in_trash'       => __( 'No blocks found in Trash.' ),
     245                'filter_items_list'        => __( 'Filter blocks list' ),
     246                'items_list_navigation'    => __( 'Blocks list navigation' ),
     247                'items_list'               => __( 'Blocks list' ),
     248                'item_published'           => __( 'Block published.' ),
     249                'item_published_privately' => __( 'Block published privately.' ),
     250                'item_reverted_to_draft'   => __( 'Block reverted to draft.' ),
     251                'item_scheduled'           => __( 'Block scheduled.' ),
     252                'item_updated'             => __( 'Block updated.' ),
    235253            ),
    236254            'public'                => false,
Note: See TracChangeset for help on using the changeset viewer.