From 6064478fa75cef6e85965d1041e26ec4f0ddcac3 Mon Sep 17 00:00:00 2001 From: Andrea Fercia Date: Wed, 3 May 2023 14:08:18 +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. Built from https://develop.svn.wordpress.org/trunk@55709 git-svn-id: http://core.svn.wordpress.org/trunk@55221 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post.php | 1 + wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-includes/post.php b/wp-includes/post.php index 3a89ed51fc..73add034c0 100644 --- a/wp-includes/post.php +++ b/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.' ), diff --git a/wp-includes/version.php b/wp-includes/version.php index 1993cd9570..bffa285efa 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.3-alpha-55706'; +$wp_version = '6.3-alpha-55709'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.