From e1c4626e71647cdebab27729039caa9b075219bb Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 26 May 2010 20:40:57 +0000 Subject: [PATCH] Help for plugin-editor.php. see #13467 git-svn-id: http://svn.automattic.com/wordpress/trunk@14959 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/plugin-editor.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/wp-admin/plugin-editor.php b/wp-admin/plugin-editor.php index bd642f51d..52ef82b79 100644 --- a/wp-admin/plugin-editor.php +++ b/wp-admin/plugin-editor.php @@ -107,6 +107,15 @@ default: } } + add_contextual_help($current_screen, '

' . __('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. ') . '

' . + '

' . __('Choose a plugin to edit from the menu in the upper right and click the Select button. Click once 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 Lookup takes you to a web page about that particular function. ') . '

' . + '

' . __('If you want to make changes but don’t want them to be overwritten when the plugin is updated, you may be ready to think about writing your own plugin. For information on how to edit a plugin or start from scratch, check out the links below.') . '

' . + '

' . __('For more information:') . '

' . + '

' . sprintf(__('Documentation on Editing Plugins'), 'http://codex.wordpress.org/Plugins_Editor_SubPanel') . '

' . + '

' . sprintf(__('Support Forums'), 'http://wordpress.org/support/') . '

' + ); + require_once('./admin-header.php'); update_recently_edited(WP_PLUGIN_DIR . '/' . $file);