From 252570e437a57348317c062709f0709089e61b19 Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Wed, 3 May 2023 14:06:10 +0000 Subject: [PATCH] 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. git-svn-id: https://develop.svn.wordpress.org/trunk@55709 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/post.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-includes/post.php b/src/wp-includes/post.php index 3a89ed51fc..73add034c0 100644 --- a/src/wp-includes/post.php +++ b/src/wp-includes/post.php @@ -289,6 +289,7 @@ function create_initial_post_types() { 'new_item' => __( 'New Reusable block' ), 'edit_item' => __( 'Edit Reusable block' ), 'view_item' => __( 'View Reusable block' ), + 'view_items' => __( 'View Reusable blocks' ), 'all_items' => __( 'All Reusable blocks' ), 'search_items' => __( 'Search Reusable blocks' ), 'not_found' => __( 'No reusable blocks found.' ),