From 042f5bdeee6d72c31838473e0cb012f1b22ea1e3 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 26 May 2010 20:19:59 +0000 Subject: [PATCH] Update help for plugins.php. Props jane. see #13467 git-svn-id: https://develop.svn.wordpress.org/trunk@14956 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/plugins.php | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/wp-admin/plugins.php b/wp-admin/plugins.php index 43045e86a8..dbeb7f761a 100644 --- a/wp-admin/plugins.php +++ b/wp-admin/plugins.php @@ -302,13 +302,14 @@ if ( !empty($action) ) { wp_enqueue_script('plugin-install'); add_thickbox(); -$help = '

' . __('Plugins extend and expand the functionality of WordPress. Once a plugin is installed, you may activate it or deactivate it here.') . '

'; -if ( current_user_can('edit_plugins') ) { -$help .= '

' . sprintf(__('If something goes wrong with a plugin and you can’t use WordPress, delete or rename that file in the %s directory and it will be automatically deactivated.'), WP_PLUGIN_DIR) . '

'; -$help .= '

' . sprintf(__('You can find additional plugins for your site by using the new Plugin Browser/Installer functionality or by browsing the WordPress Plugin Directory directly and installing manually. To manually install a plugin you generally just need to upload the plugin file into your %2$s directory. Once a plugin has been installed, you may activate it here.'), 'plugin-install.php', WP_PLUGIN_DIR) . '

'; -} - -add_contextual_help($current_screen, $help); +add_contextual_help($current_screen, '

' . __('Plugins extend and expand the functionality of WordPress. Once a plugin is installed, you may activate it or deactivate it here.') . '

' . + '

' . sprintf(__('You can find additional plugins for your site by using the Plugin Browser/Installer functionality or by browsing the WordPress Plugin Directory directly and installing new plugins manually. To manually install a plugin you generally just need to upload the plugin file into your /wp-content/plugins directory. Once a plugin has been installed, you can activate it here.'), 'plugin-install.php', 'http://wordpress.org/extend/plugins/') . '

' . + '

' . __('Most of the time, plugins play nicely with the core of WordPress and with other plugins. Sometimes, though, a plugin’s code will get in the way of another plugin, causing compatibility issues. If your site starts doing strange things, this may be the problem. Try deactivating all your plugins and re-activating them in various combinations until you isolate which one(s) caused the issue.') . '

' . + '

' . sprintf( __('If something goes wrong with a plugin and you can’t use WordPress, delete or rename that file in the %s directory and it will be automatically deactivated.'), WP_PLUGIN_DIR) . '

' . + '

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

' . + '

' . sprintf(__('Documentation on Managing Plugins'), 'http://codex.wordpress.org/Managing_Plugins#Plugin_Management') . '

' . + '

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

' +); if ( is_multisite() && is_super_admin() ) { $menu_perms = get_site_option('menu_items', array()); @@ -318,6 +319,7 @@ if ( is_multisite() && is_super_admin() ) { } $title = __('Plugins'); + require_once('./admin-header.php'); $invalid = validate_active_plugins();