From c6f462c0f6e8fabd461a958589a3795fe3aa6972 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 26 May 2010 20:40:57 +0000 Subject: [PATCH] Help for plugin-editor.php. see #13467 git-svn-id: https://develop.svn.wordpress.org/trunk@14959 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 bd642f51dd..52ef82b79a 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);