Make WordPress Core


Ignore:
Timestamp:
05/03/2023 02:06:10 PM (17 months ago)
Author:
afercia
Message:

Post Types: Add the view_items label to the wp_block post type.

The view_items post type label is used in the Editor, for the aria-label of the link to go back to the Posts list. When editing a Reusable block, it fallbacks to 'View Posts'. It should be 'View Reusable blocks'.

Fixes #58209.

File:
1 edited

Legend:

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

    r55703 r55709  
    290290                'edit_item'                => __( 'Edit Reusable block' ),
    291291                'view_item'                => __( 'View Reusable block' ),
     292                'view_items'               => __( 'View Reusable blocks' ),
    292293                'all_items'                => __( 'All Reusable blocks' ),
    293294                'search_items'             => __( 'Search Reusable blocks' ),
Note: See TracChangeset for help on using the changeset viewer.