From b1f48870d700c8e9e816cef2c458eb7fc9186784 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 10 Feb 2018 08:43:32 +0000 Subject: [PATCH] =?UTF-8?q?Administration:=20Rename=20Appearance=20?= =?UTF-8?q?=E2=86=92=C2=A0Editor=20menu=20item=20to=20Theme=20Editor=20and?= =?UTF-8?q?=20Plugins=20=E2=86=92=20Editor=20to=20Plugin=20Editor=20for=20?= =?UTF-8?q?clarity.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Props xkon, karmatosed. Fixes #43072. Built from https://develop.svn.wordpress.org/trunk@42685 git-svn-id: http://core.svn.wordpress.org/trunk@42513 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/menu.php | 4 ++-- wp-admin/network/menu.php | 4 ++-- wp-admin/plugin-editor.php | 2 +- wp-includes/version.php | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/wp-admin/menu.php b/wp-admin/menu.php index 6e6ea90721..6c8edf4eb0 100644 --- a/wp-admin/menu.php +++ b/wp-admin/menu.php @@ -203,7 +203,7 @@ if ( ! is_multisite() ) { */ function _add_themes_utility_last() { // Must use API on the admin_menu hook, direct modification is only possible on/before the _admin_menu hook - add_submenu_page( 'themes.php', _x( 'Editor', 'theme editor' ), _x( 'Editor', 'theme editor' ), 'edit_themes', 'theme-editor.php' ); + add_submenu_page( 'themes.php', __( 'Theme Editor' ), __( 'Theme Editor' ), 'edit_themes', 'theme-editor.php' ); } $count = ''; @@ -221,7 +221,7 @@ $submenu['plugins.php'][5] = array( __( 'Installed Plugins' ), 'activate_plugins if ( ! is_multisite() ) { /* translators: add new plugin */ $submenu['plugins.php'][10] = array( _x( 'Add New', 'plugin' ), 'install_plugins', 'plugin-install.php' ); - $submenu['plugins.php'][15] = array( _x( 'Editor', 'plugin editor' ), 'edit_plugins', 'plugin-editor.php' ); + $submenu['plugins.php'][15] = array( __( 'Plugin Editor' ), 'edit_plugins', 'plugin-editor.php' ); } unset( $update_data ); diff --git a/wp-admin/network/menu.php b/wp-admin/network/menu.php index 707fcc23f1..dbd77fd763 100644 --- a/wp-admin/network/menu.php +++ b/wp-admin/network/menu.php @@ -51,7 +51,7 @@ if ( current_user_can( 'update_themes' ) && $update_data['counts']['themes'] ) { } $submenu['themes.php'][5] = array( __( 'Installed Themes' ), 'manage_network_themes', 'themes.php' ); $submenu['themes.php'][10] = array( _x( 'Add New', 'theme' ), 'install_themes', 'theme-install.php' ); -$submenu['themes.php'][15] = array( _x( 'Editor', 'theme editor' ), 'edit_themes', 'theme-editor.php' ); +$submenu['themes.php'][15] = array( __( 'Theme Editor' ), 'edit_themes', 'theme-editor.php' ); if ( current_user_can( 'update_plugins' ) && $update_data['counts']['plugins'] ) { $menu[20] = array( sprintf( __( 'Plugins %s' ), "" . number_format_i18n( $update_data['counts']['plugins'] ) . '' ), 'manage_network_plugins', 'plugins.php', '', 'menu-top menu-icon-plugins', 'menu-plugins', 'dashicons-admin-plugins' ); @@ -60,7 +60,7 @@ if ( current_user_can( 'update_plugins' ) && $update_data['counts']['plugins'] ) } $submenu['plugins.php'][5] = array( __( 'Installed Plugins' ), 'manage_network_plugins', 'plugins.php' ); $submenu['plugins.php'][10] = array( _x( 'Add New', 'plugin' ), 'install_plugins', 'plugin-install.php' ); -$submenu['plugins.php'][15] = array( _x( 'Editor', 'plugin editor' ), 'edit_plugins', 'plugin-editor.php' ); +$submenu['plugins.php'][15] = array( __( 'Plugin Editor' ), 'edit_plugins', 'plugin-editor.php' ); $menu[25] = array( __( 'Settings' ), 'manage_network_options', 'settings.php', '', 'menu-top menu-icon-settings', 'menu-settings', 'dashicons-admin-settings' ); if ( defined( 'MULTISITE' ) && defined( 'WP_ALLOW_MULTISITE' ) && WP_ALLOW_MULTISITE ) { diff --git a/wp-admin/plugin-editor.php b/wp-admin/plugin-editor.php index 341f9884fe..64b5babf4a 100644 --- a/wp-admin/plugin-editor.php +++ b/wp-admin/plugin-editor.php @@ -122,7 +122,7 @@ if ( ! is_file( $real_file ) ) { 'id' => 'overview', 'title' => __( 'Overview' ), 'content' => - '

' . __( 'You can use the editor to make changes to any of your plugins’ individual PHP files. Be aware that if you make changes, plugins updates will overwrite your customizations.' ) . '

' . + '

' . __( 'You can use the Plugin Editor to make changes to any of your plugins’ individual PHP files. Be aware that if you make changes, plugins updates will overwrite your customizations.' ) . '

' . '

' . __( 'Choose a plugin to edit from the dropdown menu and click the Select button. Click once on any file name to load it in the editor, and make your changes. Don’t forget to save your changes (Update File) when you’re finished.' ) . '

' . '

' . __( 'The Documentation menu below the editor lists the PHP functions recognized in the plugin file. Clicking Look Up takes you to a web page about that particular function.' ) . '

' . '

' . __( 'When using a keyboard to navigate:' ) . '

' . diff --git a/wp-includes/version.php b/wp-includes/version.php index 558877ea8d..93ceb46944 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-42684'; +$wp_version = '5.0-alpha-42685'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.