<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fc0 solid; padding: 6px; }
#msg ul, pre { overflow: auto; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[14956] trunk/wp-admin/plugins.php: Update help for plugins.php.</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.wordpress.org/changeset/14956">14956</a></dd>
<dt>Author</dt> <dd>ryan</dd>
<dt>Date</dt> <dd>2010-05-26 20:19:59 +0000 (Wed, 26 May 2010)</dd>
</dl>

<h3>Log Message</h3>
<pre>Update help for plugins.php. Props jane. see <a href="http://trac.wordpress.org/ticket/13467">#13467</a></pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpadminpluginsphp">trunk/wp-admin/plugins.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpadminpluginsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/plugins.php (14955 => 14956)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/plugins.php        2010-05-26 20:06:54 UTC (rev 14955)
+++ trunk/wp-admin/plugins.php        2010-05-26 20:19:59 UTC (rev 14956)
</span><span class="lines">@@ -302,14 +302,15 @@
</span><span class="cx"> wp_enqueue_script('plugin-install');
</span><span class="cx"> add_thickbox();
</span><span class="cx"> 
</span><del>-$help = '&lt;p&gt;' . __('Plugins extend and expand the functionality of WordPress. Once a plugin is installed, you may activate it or deactivate it here.') . '&lt;/p&gt;';
-if ( current_user_can('edit_plugins') ) {
-$help .= '&lt;p&gt;' . sprintf(__('If something goes wrong with a plugin and you can&amp;#8217;t use WordPress, delete or rename that file in the &lt;code&gt;%s&lt;/code&gt; directory and it will be automatically deactivated.'), WP_PLUGIN_DIR) . '&lt;/p&gt;';
-$help .= '&lt;p&gt;' . sprintf(__('You can find additional plugins for your site by using the new &lt;a href=&quot;%1$s&quot;&gt;Plugin Browser/Installer&lt;/a&gt; functionality or by browsing the &lt;a href=&quot;http://wordpress.org/extend/plugins/&quot;&gt;WordPress Plugin Directory&lt;/a&gt; directly and installing manually.  To &lt;em&gt;manually&lt;/em&gt; install a plugin you generally just need to upload the plugin file into your &lt;code&gt;%2$s&lt;/code&gt; directory.  Once a plugin has been installed, you may activate it here.'), 'plugin-install.php', WP_PLUGIN_DIR) . '&lt;/p&gt;';
-}
</del><ins>+add_contextual_help($current_screen, '&lt;p&gt;' . __('Plugins extend and expand the functionality of WordPress. Once a plugin is installed, you may activate it or deactivate it here.') . '&lt;/p&gt;' .
+        '&lt;p&gt;' . sprintf(__('You can find additional plugins for your site by using the &lt;a href=&quot;%1$s&quot;&gt;Plugin Browser/Installer&lt;/a&gt; functionality or by browsing the &lt;a href=&quot;%2$s&quot;&gt;WordPress Plugin Directory&lt;/a&gt; directly and installing new plugins manually. To manually install a plugin you generally just need to upload the plugin file into your &lt;code&gt;/wp-content/plugins&lt;/code&gt; directory. Once a plugin has been installed, you can activate it here.'), 'plugin-install.php', 'http://wordpress.org/extend/plugins/') . '&lt;/p&gt;' .
+        '&lt;p&gt;' . __('Most of the time, plugins play nicely with the core of WordPress and with other plugins. Sometimes, though, a plugin&amp;#8217;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.') . '&lt;/p&gt;' .
+        '&lt;p&gt;' . sprintf( __('If something goes wrong with a plugin and you can&amp;#8217;t use WordPress, delete or rename that file in the &lt;code&gt;%s&lt;/code&gt; directory and it will be automatically deactivated.'), WP_PLUGIN_DIR) . '&lt;/p&gt;' .        
+        '&lt;p&gt;' . __('&lt;strong&gt;For more information:&lt;/strong&gt;') . '&lt;/p&gt;' .
+        '&lt;p&gt;' . sprintf(__('&lt;a href=&quot;%s&quot;&gt;Documentation on Managing Plugins&lt;/a&gt;'), 'http://codex.wordpress.org/Managing_Plugins#Plugin_Management') . '&lt;/p&gt;' .
+        '&lt;p&gt;' . sprintf(__('&lt;a href=&quot;%s&quot;&gt;Support Forums&lt;/a&gt;'), 'http://wordpress.org/support/') . '&lt;/p&gt;'
+);
</ins><span class="cx"> 
</span><del>-add_contextual_help($current_screen, $help);
-
</del><span class="cx"> if ( is_multisite() &amp;&amp; is_super_admin() ) {
</span><span class="cx">         $menu_perms = get_site_option('menu_items', array());
</span><span class="cx">         if ( empty($menu_perms['plugins']) )
</span><span class="lines">@@ -318,6 +319,7 @@
</span><span class="cx"> }
</span><span class="cx"> 
</span><span class="cx"> $title = __('Plugins');
</span><ins>+
</ins><span class="cx"> require_once('./admin-header.php');
</span><span class="cx"> 
</span><span class="cx"> $invalid = validate_active_plugins();
</span></span></pre>
</div>
</div>

</body>
</html>