<!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" />
<title>[19510] trunk/wp-admin: Help tweaks for themes, plugins screens.</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { 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 #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg > ul, #logmsg > ol { margin-left: 0; margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#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>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://core.trac.wordpress.org/changeset/19510">19510</a></dd>
<dt>Author</dt> <dd>nacin</dd>
<dt>Date</dt> <dd>2011-12-01 01:24:39 +0000 (Thu, 01 Dec 2011)</dd>
</dl>

<h3>Log Message</h3>
<pre>Help tweaks for themes, plugins screens. props jane, see <a href="http://core.trac.wordpress.org/ticket/19020">#19020</a>.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpadmincustombackgroundphp">trunk/wp-admin/custom-background.php</a></li>
<li><a href="#trunkwpadminnavmenusphp">trunk/wp-admin/nav-menus.php</a></li>
<li><a href="#trunkwpadminplugininstallphp">trunk/wp-admin/plugin-install.php</a></li>
<li><a href="#trunkwpadminpluginsphp">trunk/wp-admin/plugins.php</a></li>
<li><a href="#trunkwpadminthemesphp">trunk/wp-admin/themes.php</a></li>
<li><a href="#trunkwpadminwidgetsphp">trunk/wp-admin/widgets.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpadmincustombackgroundphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/custom-background.php (19509 => 19510)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/custom-background.php        2011-12-01 01:17:14 UTC (rev 19509)
+++ trunk/wp-admin/custom-background.php        2011-12-01 01:24:39 UTC (rev 19510)
</span><span class="lines">@@ -297,7 +297,7 @@
</span><span class="cx"> &lt;/tr&gt;
</span><span class="cx"> &lt;?php endif; // get_background_image() ?&gt;
</span><span class="cx"> &lt;tr valign=&quot;top&quot;&gt;
</span><del>-&lt;th scope=&quot;row&quot;&gt;&lt;?php _e( 'Color' ); ?&gt;&lt;/th&gt;
</del><ins>+&lt;th scope=&quot;row&quot;&gt;&lt;?php _e( 'Background Color' ); ?&gt;&lt;/th&gt;
</ins><span class="cx"> &lt;td&gt;&lt;fieldset&gt;&lt;legend class=&quot;screen-reader-text&quot;&gt;&lt;span&gt;&lt;?php _e( 'Background Color' ); ?&gt;&lt;/span&gt;&lt;/legend&gt;
</span><span class="cx"> &lt;?php $show_clear = get_background_color() ? '' : ' style=&quot;display:none&quot;'; ?&gt;
</span><span class="cx"> &lt;input type=&quot;text&quot; name=&quot;background-color&quot; id=&quot;background-color&quot; value=&quot;#&lt;?php echo esc_attr(get_background_color()) ?&gt;&quot; /&gt;
</span></span></pre></div>
<a id="trunkwpadminnavmenusphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/nav-menus.php (19509 => 19510)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/nav-menus.php        2011-12-01 01:17:14 UTC (rev 19509)
+++ trunk/wp-admin/nav-menus.php        2011-12-01 01:24:39 UTC (rev 19510)
</span><span class="lines">@@ -448,15 +448,16 @@
</span><span class="cx"> get_current_screen()-&gt;add_help_tab( array(
</span><span class="cx"> 'id'                =&gt; 'overview',
</span><span class="cx"> 'title'                =&gt; __('Overview'),
</span><del>-'content'        =&gt;         
-        '&lt;p&gt;' . __('This feature allows you to use a custom menu in place of your theme&amp;#8217;s default menus. If your theme does not support the custom menus feature yet (the new and old default themes, Twenty Eleven and Twenty Ten, do), you can learn about adding this support by following the Documentation link in this tab. You can still use the Custom Menu widget to add menus to a sidebar.') . '&lt;/p&gt;'
</del><ins>+'content'        =&gt;
+        '&lt;p&gt;' . __('This feature allows you to use a custom menu in place of your theme&amp;#8217;s default menus.') . '&lt;/p&gt;' .
+        '&lt;p&gt;' . __('Custom menus may contain links to pages, categories, custom links or other content types (use the Screen Options tab to decide which ones to show on the screen). You can specify a different navigation label for a menu item as well as other attributes. You can create multiple menus. If your theme includes more than one menu, you can choose which custom menu to associate with each. You can also use custom menus in conjunction with the Custom Menus widget.') . '&lt;/p&gt;' .
+        '&lt;p&gt;' . __('If your theme does not support the custom menus feature yet (the default themes, Twenty Eleven and Twenty Ten, do), you can learn about adding this support by following the Documentation link to the side.') . '&lt;/p&gt;'
</ins><span class="cx"> ) );
</span><span class="cx"> get_current_screen()-&gt;add_help_tab( array(
</span><span class="cx"> 'id'                =&gt; 'create-menus',
</span><span class="cx"> 'title'                =&gt; __('Create Menus'),
</span><span class="cx"> 'content'        =&gt;         
</span><del>-        '&lt;p&gt;' . __('You can create custom menus for your site. These menus may contain links to pages, categories, custom links or other content types (use the Screen Options tab to decide which ones to show on the screen). You can specify a different navigation label for a menu item as well as other attributes. You can create multiple menus. If your theme includes more than one menu, you can choose which custom menu to associate with each. You can also use custom menus in conjunction with the Custom Menus widget.') . '&lt;/p&gt; 
-        &lt;p&gt;' . __('To create a new custom menu, click on the + tab, give the menu a name, and click Create Menu. Next, add menu items from the appropriate boxes. You&amp;#8217;ll be able to edit the information for each menu item, and can drag and drop to put them in order. You can also drag a menu item a little to the right to make it a submenu, to create menus with hierarchy. Drop the item into its new nested placement when the dotted rectangle target shifts over, also a little to the right. Don&amp;#8217;t forget to click Save when you&amp;#8217;re finished.') . '&lt;/p&gt;'
</del><ins>+        '&lt;p&gt;' . __('To create a new custom menu, click on the + tab, give the menu a name, and click Create Menu. Next, add menu items from the appropriate boxes. You&amp;#8217;ll be able to edit the information for each menu item, and can drag and drop to put them in order. You can also drag a menu item a little to the right to make it a submenu, to create menus with hierarchy. Drop the item into its new nested placement when the dotted rectangle target shifts over, also a little to the right. Don&amp;#8217;t forget to click Save when you&amp;#8217;re finished.') . '&lt;/p&gt;'
</ins><span class="cx"> ) );
</span><span class="cx"> 
</span><span class="cx"> get_current_screen()-&gt;set_help_sidebar(
</span></span></pre></div>
<a id="trunkwpadminplugininstallphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/plugin-install.php (19509 => 19510)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/plugin-install.php        2011-12-01 01:17:14 UTC (rev 19509)
+++ trunk/wp-admin/plugin-install.php        2011-12-01 01:24:39 UTC (rev 19510)
</span><span class="lines">@@ -36,18 +36,18 @@
</span><span class="cx"> do_action('install_plugins_pre_' . $tab); //Used to override the general interface, Eg, install or plugin information.
</span><span class="cx"> 
</span><span class="cx"> get_current_screen()-&gt;add_help_tab( array(
</span><del>-'id'                =&gt; 'finding-plugins',
-'title'                =&gt; __('Finding Plugins'),
</del><ins>+'id'                =&gt; 'overview',
+'title'                =&gt; __('Overview'),
</ins><span class="cx"> 'content'        =&gt; 
</span><del>-        '&lt;p&gt;' . sprintf(__('Plugins hook into WordPress to extend its functionality with custom features. Plugins are developed independently from WordPress core by thousands of developers all over the world. All plugins in the official &lt;a href=&quot;%s&quot; target=&quot;_blank&quot;&gt;WordPress.org Plugin Directory&lt;/a&gt; are compatible with the license WordPress uses. You can find new plugins to install by searching or browsing the Directory right here in your own Plugins section.'), 'http://wordpress.org/extend/plugins/') . '&lt;/p&gt;' .
-        '&lt;p&gt;' . __('If you know what you&amp;#8217;re looking for, Search is your best bet. The Search screen has options to search the WordPress.org Plugin Directory for a particular Term, Author, or Tag. You can also search the directory by selecting a popular tags. Tags in larger type mean more plugins have been labeled with that tag.') . '&lt;/p&gt;' .
-        '&lt;p&gt;' . __('If you just want to get an idea of what&amp;#8217;s available, you can browse Featured, Popular, Newest, and Recently Updated plugins by using the links in the upper left of the screen. These sections rotate regularly.') . '&lt;/p&gt;'
</del><ins>+        '&lt;p&gt;' . sprintf(__('Plugins hook into WordPress to extend its functionality with custom features. Plugins are developed independently from the core WordPress application by thousands of developers all over the world. All plugins in the official &lt;a href=&quot;%s&quot; target=&quot;_blank&quot;&gt;WordPress.org Plugin Directory&lt;/a&gt; are compatible with the license WordPress uses. You can find new plugins to install by searching or browsing the Directory right here in your own Plugins section.'), 'http://wordpress.org/extend/plugins/') . '&lt;/p&gt;'
</ins><span class="cx"> ) );
</span><span class="cx"> get_current_screen()-&gt;add_help_tab( array(
</span><del>-'id'                =&gt; 'uploading-plugin',
-'title'                =&gt; __('Uploading Plugins'),
</del><ins>+'id'                =&gt; 'adding-plugins',
+'title'                =&gt; __('Adding Plugins'),
</ins><span class="cx"> 'content'        =&gt; 
</span><del>-        '&lt;p&gt;' . __('If you want to install a plugin that you&amp;#8217;ve downloaded elsewhere, click Upload in the upper left. You will be prompted to upload the .zip package, and once uploaded, you can activate the new plugin.') . '&lt;/p&gt;'
</del><ins>+        '&lt;p&gt;' . __('If you know what you&amp;#8217;re looking for, Search is your best bet. The Search screen has options to search the WordPress.org Plugin Directory for a particular Term, Author, or Tag. You can also search the directory by selecting a popular tags. Tags in larger type mean more plugins have been labeled with that tag.') . '&lt;/p&gt;' .
+        '&lt;p&gt;' . __('If you just want to get an idea of what&amp;#8217;s available, you can browse Featured, Popular, Newest, and Recently Updated plugins by using the links in the upper left of the screen. These sections rotate regularly.') . '&lt;/p&gt;' .
+        '&lt;p&gt;' . __('If you want to install a plugin that you&amp;#8217;ve downloaded elsewhere, click the Upload in the upper left. You will be prompted to upload the .zip package, and once uploaded, you can activate the new plugin.') . '&lt;/p&gt;'
</ins><span class="cx"> ) );
</span><span class="cx"> 
</span><span class="cx"> get_current_screen()-&gt;set_help_sidebar(
</span></span></pre></div>
<a id="trunkwpadminpluginsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/plugins.php (19509 => 19510)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/plugins.php        2011-12-01 01:17:14 UTC (rev 19509)
+++ trunk/wp-admin/plugins.php        2011-12-01 01:24:39 UTC (rev 19510)
</span><span class="lines">@@ -327,7 +327,7 @@
</span><span class="cx"> ) );
</span><span class="cx"> get_current_screen()-&gt;add_help_tab( array(
</span><span class="cx"> 'id'                =&gt; 'compatibility-problems',
</span><del>-'title'                =&gt; __('Compatibility Problems'),
</del><ins>+'title'                =&gt; __('Troubleshooting'),
</ins><span class="cx"> 'content'        =&gt; 
</span><span class="cx">         '&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;' .
</span><span class="cx">         '&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;'
</span></span></pre></div>
<a id="trunkwpadminthemesphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/themes.php (19509 => 19510)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/themes.php        2011-12-01 01:17:14 UTC (rev 19509)
+++ trunk/wp-admin/themes.php        2011-12-01 01:24:39 UTC (rev 19510)
</span><span class="lines">@@ -41,8 +41,8 @@
</span><span class="cx">         '&lt;p&gt;' . __('You can see your active theme at the top of the screen. Below are the other themes you have installed that are not currently in use. You can see what your site would look like with one of these themes by clicking the Preview link. To change themes, click the Activate link.') . '&lt;/p&gt;';
</span><span class="cx"> 
</span><span class="cx"> get_current_screen()-&gt;add_help_tab( array(
</span><del>-        'id'      =&gt; 'manage-themes',
-        'title'   =&gt; __('Manage Themes'),
</del><ins>+        'id'      =&gt; 'overview',
+        'title'   =&gt; __('Overview'),
</ins><span class="cx">         'content' =&gt; $help_manage,
</span><span class="cx"> ) );
</span><span class="cx"> 
</span><span class="lines">@@ -54,8 +54,8 @@
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         get_current_screen()-&gt;add_help_tab( array(
</span><del>-                'id'      =&gt; 'install-themes',
-                'title'   =&gt; __('Install Themes'),
</del><ins>+                'id'      =&gt; 'adding-themes',
+                'title'   =&gt; __('Adding Themes'),
</ins><span class="cx">                 'content' =&gt; $help_install,
</span><span class="cx">         ) );
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkwpadminwidgetsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/widgets.php (19509 => 19510)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/widgets.php        2011-12-01 01:17:14 UTC (rev 19509)
+++ trunk/wp-admin/widgets.php        2011-12-01 01:24:39 UTC (rev 19510)
</span><span class="lines">@@ -54,7 +54,8 @@
</span><span class="cx"> 'id'                =&gt; 'missing-widgets',
</span><span class="cx"> 'title'                =&gt; __('Missing Widgets'),
</span><span class="cx"> 'content'        =&gt;         
</span><del>-        '&lt;p&gt;' . __('Many themes show some sidebar widgets by default until you edit your sidebars, but they are not automatically displayed in your sidebar management tool. After you make your first widget change, you can re-add the default widgets by adding them from the Available Widgets area.') . '&lt;/p&gt;' 
</del><ins>+        '&lt;p&gt;' . __('Many themes show some sidebar widgets by default until you edit your sidebars, but they are not automatically displayed in your sidebar management tool. After you make your first widget change, you can re-add the default widgets by adding them from the Available Widgets area.') . '&lt;/p&gt;' .
+                '&lt;p&gt;' . __('When changing themes, there is often some variation in the number and setup of widget areas/sidebars and sometimes these conflicts make the transition a bit less smooth. If you changed themes and seem to be missing widgets, scroll down on this screen to the Inactive area, where all your widgets and their settings will have been saved.') . '&lt;/p&gt;'
</ins><span class="cx"> ) );
</span><span class="cx"> 
</span><span class="cx"> get_current_screen()-&gt;set_help_sidebar(
</span></span></pre>
</div>
</div>

</body>
</html>