mirror of
git://develop.git.wordpress.org/
synced 2025-01-29 10:38:22 +01:00
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]. Props kebbet, narenin, nestea29950. Fixes #60827. git-svn-id: https://develop.svn.wordpress.org/trunk@57887 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1c430acb3a
commit
8122587503
@ -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' ) ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user