From b37dea1ca7e527c923b6e78d1b000fc7288b226b Mon Sep 17 00:00:00 2001 From: audrasjb Date: Tue, 23 Apr 2024 17:34:17 +0000 Subject: [PATCH] I18n: Add context to the "Patterns" translatable string for the related admin menu item. This changeset put back the context parameter of the "Patterns" string which was previously removed to fix a translation issue without introducing a string change during WP 6.5 string freeze period. Follow-up to [57864]. Reviewed by audrasjb, jorbin. Merges [57887] to the to the 6.5 branch. Props kebbet, narenin, nestea29950. Fixes #60827. Built from https://develop.svn.wordpress.org/branches/6.5@58038 git-svn-id: http://core.svn.wordpress.org/branches/6.5@57504 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/menu.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/menu.php b/wp-admin/menu.php index 7959e724c9..8076479220 100644 --- a/wp-admin/menu.php +++ b/wp-admin/menu.php @@ -206,7 +206,7 @@ if ( ! is_multisite() && current_user_can( 'update_themes' ) ) { if ( wp_is_block_theme() ) { $submenu['themes.php'][6] = array( _x( 'Editor', 'site editor menu item' ), 'edit_theme_options', 'site-editor.php' ); } else { - $submenu['themes.php'][6] = array( __( 'Patterns' ), 'edit_theme_options', 'edit.php?post_type=wp_block' ); + $submenu['themes.php'][6] = array( _x( 'Patterns', 'patterns menu item' ), 'edit_theme_options', 'edit.php?post_type=wp_block' ); } if ( ! wp_is_block_theme() && current_theme_supports( 'block-template-parts' ) ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index ef415e27e9..ee452f4157 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.5.3-alpha-58036'; +$wp_version = '6.5.3-alpha-58038'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.