Changeset 42685
- Timestamp:
- 02/10/2018 08:42:07 AM (7 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/menu.php
r42343 r42685 204 204 function _add_themes_utility_last() { 205 205 // Must use API on the admin_menu hook, direct modification is only possible on/before the _admin_menu hook 206 add_submenu_page( 'themes.php', _ x( 'Editor', 'theme editor' ), _x( 'Editor', 'theme editor' ), 'edit_themes', 'theme-editor.php' );206 add_submenu_page( 'themes.php', __( 'Theme Editor' ), __( 'Theme Editor' ), 'edit_themes', 'theme-editor.php' ); 207 207 } 208 208 … … 222 222 /* translators: add new plugin */ 223 223 $submenu['plugins.php'][10] = array( _x( 'Add New', 'plugin' ), 'install_plugins', 'plugin-install.php' ); 224 $submenu['plugins.php'][15] = array( _ x( 'Editor', 'plugin editor' ), 'edit_plugins', 'plugin-editor.php' );224 $submenu['plugins.php'][15] = array( __( 'Plugin Editor' ), 'edit_plugins', 'plugin-editor.php' ); 225 225 } 226 226 -
trunk/src/wp-admin/network/menu.php
r42343 r42685 52 52 $submenu['themes.php'][5] = array( __( 'Installed Themes' ), 'manage_network_themes', 'themes.php' ); 53 53 $submenu['themes.php'][10] = array( _x( 'Add New', 'theme' ), 'install_themes', 'theme-install.php' ); 54 $submenu['themes.php'][15] = array( _ x( 'Editor', 'theme editor' ), 'edit_themes', 'theme-editor.php' );54 $submenu['themes.php'][15] = array( __( 'Theme Editor' ), 'edit_themes', 'theme-editor.php' ); 55 55 56 56 if ( current_user_can( 'update_plugins' ) && $update_data['counts']['plugins'] ) { … … 61 61 $submenu['plugins.php'][5] = array( __( 'Installed Plugins' ), 'manage_network_plugins', 'plugins.php' ); 62 62 $submenu['plugins.php'][10] = array( _x( 'Add New', 'plugin' ), 'install_plugins', 'plugin-install.php' ); 63 $submenu['plugins.php'][15] = array( _ x( 'Editor', 'plugin editor' ), 'edit_plugins', 'plugin-editor.php' );63 $submenu['plugins.php'][15] = array( __( 'Plugin Editor' ), 'edit_plugins', 'plugin-editor.php' ); 64 64 65 65 $menu[25] = array( __( 'Settings' ), 'manage_network_options', 'settings.php', '', 'menu-top menu-icon-settings', 'menu-settings', 'dashicons-admin-settings' ); -
trunk/src/wp-admin/plugin-editor.php
r42343 r42685 123 123 'title' => __( 'Overview' ), 124 124 'content' => 125 '<p>' . __( '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.' ) . '</p>' .125 '<p>' . __( '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.' ) . '</p>' . 126 126 '<p>' . __( '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.' ) . '</p>' . 127 127 '<p>' . __( '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.' ) . '</p>' .
Note: See TracChangeset
for help on using the changeset viewer.