<!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>[18864] trunk/wp-admin: Add screen_options with contextual content, see #18690</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/18864">18864</a></dd>
<dt>Author</dt> <dd>azaozz</dd>
<dt>Date</dt> <dd>2011-10-02 06:59:36 +0000 (Sun, 02 Oct 2011)</dd>
</dl>

<h3>Log Message</h3>
<pre>Add screen_options with contextual content, see <a href="http://core.trac.wordpress.org/ticket/18690">#18690</a></pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpadmineditcommentsphp">trunk/wp-admin/edit-comments.php</a></li>
<li><a href="#trunkwpadmineditformadvancedphp">trunk/wp-admin/edit-form-advanced.php</a></li>
<li><a href="#trunkwpadmineditlinkformphp">trunk/wp-admin/edit-link-form.php</a></li>
<li><a href="#trunkwpadminedittagsphp">trunk/wp-admin/edit-tags.php</a></li>
<li><a href="#trunkwpadmineditphp">trunk/wp-admin/edit.php</a></li>
<li><a href="#trunkwpadminincludesscreenphp">trunk/wp-admin/includes/screen.php</a></li>
<li><a href="#trunkwpadminindexphp">trunk/wp-admin/index.php</a></li>
<li><a href="#trunkwpadminlinkmanagerphp">trunk/wp-admin/link-manager.php</a></li>
<li><a href="#trunkwpadminnavmenusphp">trunk/wp-admin/nav-menus.php</a></li>
<li><a href="#trunkwpadminnetworkindexphp">trunk/wp-admin/network/index.php</a></li>
<li><a href="#trunkwpadminnetworksitethemesphp">trunk/wp-admin/network/site-themes.php</a></li>
<li><a href="#trunkwpadminnetworksiteusersphp">trunk/wp-admin/network/site-users.php</a></li>
<li><a href="#trunkwpadminnetworksitesphp">trunk/wp-admin/network/sites.php</a></li>
<li><a href="#trunkwpadminnetworkthemesphp">trunk/wp-admin/network/themes.php</a></li>
<li><a href="#trunkwpadminnetworkusersphp">trunk/wp-admin/network/users.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="#trunkwpadminuploadphp">trunk/wp-admin/upload.php</a></li>
<li><a href="#trunkwpadminusersphp">trunk/wp-admin/users.php</a></li>
<li><a href="#trunkwpadminwidgetsphp">trunk/wp-admin/widgets.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpadmineditcommentsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/edit-comments.php (18863 => 18864)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/edit-comments.php        2011-10-02 00:04:30 UTC (rev 18863)
+++ trunk/wp-admin/edit-comments.php        2011-10-02 06:59:36 UTC (rev 18864)
</span><span class="lines">@@ -111,6 +111,10 @@
</span><span class="cx"> 
</span><span class="cx"> add_screen_option( 'per_page', array('label' =&gt; _x( 'Comments', 'comments per page (screen options)' )) );
</span><span class="cx"> 
</span><ins>+$current_screen-&gt;add_screen_options( 
+'&lt;p&gt;test&lt;/p&gt;'
+);
+
</ins><span class="cx"> add_contextual_help( $current_screen, '&lt;p&gt;' . __( 'You can manage comments made on your site similar to the way you manage Posts and other content. This screen is customizable in the same ways as other management screens, and you can act on comments using the on-hover action links or the Bulk Actions.' ) . '&lt;/p&gt;' .
</span><span class="cx">         '&lt;p&gt;' . __( 'A yellow row means the comment is waiting for you to moderate it.' ) . '&lt;/p&gt;' .
</span><span class="cx">         '&lt;p&gt;' . __( 'In the Author column, in addition to the author&amp;#8217;s name, email address, and blog URL, the commenter&amp;#8217;s IP address is shown. Clicking on this link will show you all the comments made from this IP address.' ) . '&lt;/p&gt;' .
</span></span></pre></div>
<a id="trunkwpadmineditformadvancedphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/edit-form-advanced.php (18863 => 18864)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/edit-form-advanced.php        2011-10-02 00:04:30 UTC (rev 18863)
+++ trunk/wp-admin/edit-form-advanced.php        2011-10-02 06:59:36 UTC (rev 18864)
</span><span class="lines">@@ -161,13 +161,17 @@
</span><span class="cx"> 
</span><span class="cx"> $current_screen-&gt;add_option('layout_columns', array('max' =&gt; 2, 'default' =&gt; 'auto') );
</span><span class="cx"> 
</span><ins>+$current_screen-&gt;add_screen_options( 
+'&lt;p&gt;test&lt;/p&gt;'
+);
+
</ins><span class="cx"> if ( 'post' == $post_type ) {
</span><span class="cx">         $customize_display = '&lt;p&gt;' . __('The title field and the big Post Editing Area are fixed in place, but you can reposition all the other boxes using drag and drop, and can minimize or expand them by clicking the title bar of each box. Use the Screen Options tab to unhide more boxes (Excerpt, Send Trackbacks, Custom Fields, Discussion, Slug, Author) or to choose a 1- or 2-column layout for this screen.') . '&lt;/p&gt;';
</span><span class="cx"> 
</span><span class="cx">         $current_screen-&gt;add_help_tab( array(
</span><span class="cx">                 'id'      =&gt; 'customize-display',
</span><span class="cx">                 'title'   =&gt; __('Customizing This Display'),
</span><del>-                'content' =&gt; $customize_display,
</del><ins>+                'content' =&gt; $customize_display
</ins><span class="cx">         ) );
</span><span class="cx"> 
</span><span class="cx">         $title_and_editor  = '&lt;p&gt;' . __('&lt;strong&gt;Title&lt;/strong&gt; - Enter a title for your post. After you enter a title, you&amp;#8217;ll see the permalink below, which you can edit.') . '&lt;/p&gt;';
</span></span></pre></div>
<a id="trunkwpadmineditlinkformphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/edit-link-form.php (18863 => 18864)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/edit-link-form.php        2011-10-02 00:04:30 UTC (rev 18863)
+++ trunk/wp-admin/edit-link-form.php        2011-10-02 06:59:36 UTC (rev 18864)
</span><span class="lines">@@ -39,15 +39,18 @@
</span><span class="cx"> 
</span><span class="cx"> add_screen_option('layout_columns', array('max' =&gt; 2, 'default' =&gt; 'auto') );
</span><span class="cx"> 
</span><del>-add_contextual_help($current_screen,
-        '&lt;p&gt;' . __( 'You can add or edit links on this screen by entering information in each of the boxes. Only the link&amp;#8217;s web address and name (the text you want to display on your site as the link) are required fields.' ) . '&lt;/p&gt;' .
-        '&lt;p&gt;' . __( 'The boxes for link name, web address, and description have fixed positions, while the others may be repositioned using drag and drop. You can also hide boxes you don&amp;#8217;t use in the Screen Options tab, or minimize boxes by clicking on the title bar of the box.' ) . '&lt;/p&gt;' .
-        '&lt;p&gt;' . __( 'XFN stands for &lt;a href=&quot;http://gmpg.org/xfn/&quot; target=&quot;_blank&quot;&gt;XHTML Friends Network&lt;/a&gt;, which is optional. WordPress allows the generation of XFN attributes to show how you are related to the authors/owners of the site to which you are linking.' ) . '&lt;/p&gt;' .
-        '&lt;p&gt;&lt;strong&gt;' . __( 'For more information:' ) . '&lt;/strong&gt;&lt;/p&gt;' .
-        '&lt;p&gt;' . __( '&lt;a href=&quot;http://codex.wordpress.org/Links_Add_New_Screen&quot; target=&quot;_blank&quot;&gt;Documentation on Creating Links&lt;/a&gt;' ) . '&lt;/p&gt;' .
-        '&lt;p&gt;' . __( '&lt;a href=&quot;http://wordpress.org/support/&quot; target=&quot;_blank&quot;&gt;Support Forums&lt;/a&gt;' ) . '&lt;/p&gt;'
</del><ins>+$current_screen-&gt;add_screen_options( 
+'&lt;p&gt;test&lt;/p&gt;'
</ins><span class="cx"> );
</span><span class="cx"> 
</span><ins>+add_contextual_help( $current_screen, '
+&lt;p&gt;' . __( 'You can add or edit links on this screen by entering information in each of the boxes. Only the link&amp;#8217;s web address and name (the text you want to display on your site as the link) are required fields.' ) . '&lt;/p&gt;
+&lt;p&gt;' . __( 'The boxes for link name, web address, and description have fixed positions, while the others may be repositioned using drag and drop. You can also hide boxes you don&amp;#8217;t use in the Screen Options tab, or minimize boxes by clicking on the title bar of the box.' ) . '&lt;/p&gt;
+&lt;p&gt;' . __( 'XFN stands for &lt;a href=&quot;http://gmpg.org/xfn/&quot; target=&quot;_blank&quot;&gt;XHTML Friends Network&lt;/a&gt;, which is optional. WordPress allows the generation of XFN attributes to show how you are related to the authors/owners of the site to which you are linking.' ) . '&lt;/p&gt;
+&lt;p&gt;&lt;strong&gt;' . __( 'For more information:' ) . '&lt;/strong&gt;&lt;/p&gt;
+&lt;p&gt;' . __( '&lt;a href=&quot;http://codex.wordpress.org/Links_Add_New_Screen&quot; target=&quot;_blank&quot;&gt;Documentation on Creating Links&lt;/a&gt;' ) . '&lt;/p&gt;
+&lt;p&gt;' . __( '&lt;a href=&quot;http://wordpress.org/support/&quot; target=&quot;_blank&quot;&gt;Support Forums&lt;/a&gt;' ) . '&lt;/p&gt;' );
+
</ins><span class="cx"> require_once ('admin-header.php');
</span><span class="cx"> ?&gt;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpadminedittagsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/edit-tags.php (18863 => 18864)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/edit-tags.php        2011-10-02 00:04:30 UTC (rev 18863)
+++ trunk/wp-admin/edit-tags.php        2011-10-02 06:59:36 UTC (rev 18864)
</span><span class="lines">@@ -30,6 +30,10 @@
</span><span class="cx"> 
</span><span class="cx"> add_screen_option( 'per_page', array('label' =&gt; $title, 'default' =&gt; 20, 'option' =&gt; 'edit_' . $tax-&gt;name . '_per_page') );
</span><span class="cx"> 
</span><ins>+$current_screen-&gt;add_screen_options( 
+'&lt;p&gt;test&lt;/p&gt;'
+);
+
</ins><span class="cx"> switch ( $wp_list_table-&gt;current_action() ) {
</span><span class="cx"> 
</span><span class="cx"> case 'add-tag':
</span></span></pre></div>
<a id="trunkwpadmineditphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/edit.php (18863 => 18864)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/edit.php        2011-10-02 00:04:30 UTC (rev 18863)
+++ trunk/wp-admin/edit.php        2011-10-02 06:59:36 UTC (rev 18864)
</span><span class="lines">@@ -148,6 +148,12 @@
</span><span class="cx"> 
</span><span class="cx"> $title = $post_type_object-&gt;labels-&gt;name;
</span><span class="cx"> 
</span><ins>+add_screen_option( 'per_page', array('label' =&gt; $title, 'default' =&gt; 20) );
+
+$current_screen-&gt;add_screen_options( 
+'&lt;p&gt;test&lt;/p&gt;'
+);
+
</ins><span class="cx"> if ( 'post' == $post_type ) {
</span><span class="cx">         add_contextual_help($current_screen,
</span><span class="cx">         '&lt;p&gt;' . __('You can customize the display of this screen in a number of ways:') . '&lt;/p&gt;' .
</span><span class="lines">@@ -180,8 +186,6 @@
</span><span class="cx">         );
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-add_screen_option( 'per_page', array('label' =&gt; $title, 'default' =&gt; 20) );
-
</del><span class="cx"> require_once('./admin-header.php');
</span><span class="cx"> ?&gt;
</span><span class="cx"> &lt;div class=&quot;wrap&quot;&gt;
</span></span></pre></div>
<a id="trunkwpadminincludesscreenphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/screen.php (18863 => 18864)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/screen.php        2011-10-02 00:04:30 UTC (rev 18863)
+++ trunk/wp-admin/includes/screen.php        2011-10-02 06:59:36 UTC (rev 18864)
</span><span class="lines">@@ -642,6 +642,7 @@
</span><span class="cx">                 // Call old contextual_help_list filter.
</span><span class="cx">                 if ( ! isset( $_wp_contextual_help ) )
</span><span class="cx">                         $_wp_contextual_help = array();
</span><ins>+
</ins><span class="cx">                 $_wp_contextual_help = apply_filters( 'contextual_help_list', $_wp_contextual_help, $this );
</span><span class="cx"> 
</span><span class="cx">                 if ( isset( $_wp_contextual_help[ $this-&gt;id ] ) ) {
</span><span class="lines">@@ -654,14 +655,6 @@
</span><span class="cx">                         ) );
</span><span class="cx">                 }
</span><span class="cx"> 
</span><del>-                // Add screen options tab
-                if ( $this-&gt;show_screen_options() ) {
-                        $this-&gt;add_help_tab( array(
-                                'title'    =&gt; __('Screen Options'),
-                                'callback' =&gt; array( $this, 'render_screen_options' ),
-                        ) );
-                }
-
</del><span class="cx">                 // Time to render!
</span><span class="cx">                 ?&gt;
</span><span class="cx">                 &lt;div id=&quot;screen-meta&quot; class='metabox-prefs'&gt;
</span><span class="lines">@@ -712,7 +705,7 @@
</span><span class="cx">                 &lt;?php
</span><span class="cx">         }
</span><span class="cx"> 
</span><del>-        public function show_screen_options() {
</del><ins>+        public function show_screen_options() { // not needed?
</ins><span class="cx">                 global $wp_meta_boxes, $wp_list_table;
</span><span class="cx"> 
</span><span class="cx">                 if ( is_bool( $this-&gt;_show_screen_options ) )
</span><span class="lines">@@ -746,6 +739,15 @@
</span><span class="cx">                 return $this-&gt;_show_screen_options;
</span><span class="cx">         }
</span><span class="cx"> 
</span><ins>+        public function add_screen_options($before = '') {
+                $this-&gt;add_help_tab( array(
+                        'title'    =&gt; __('Screen Options'),
+                        'id'       =&gt; 'screen-options',
+                        'callback' =&gt; array( $this, 'render_screen_options' ),
+                        'content'  =&gt; $before
+                ));
+        }
+
</ins><span class="cx">         /**
</span><span class="cx">          * Render the screen options tab.
</span><span class="cx">          *
</span><span class="lines">@@ -756,7 +758,14 @@
</span><span class="cx"> 
</span><span class="cx">                 $columns = get_column_headers( $this );
</span><span class="cx">                 $hidden  = get_hidden_columns( $this );
</span><ins>+                $this-&gt;_screen_settings = apply_filters( 'screen_settings', '', $this );
</ins><span class="cx"> 
</span><ins>+                switch ( $this-&gt;id ) {
+                        case 'widgets':
+                                $this-&gt;_screen_settings = '&lt;p&gt;&lt;a id=&quot;access-on&quot; href=&quot;widgets.php?widgets-access=on&quot;&gt;' . __('Enable accessibility mode') . '&lt;/a&gt;&lt;a id=&quot;access-off&quot; href=&quot;widgets.php?widgets-access=off&quot;&gt;' . __('Disable accessibility mode') . &quot;&lt;/a&gt;&lt;/p&gt;\n&quot;;
+                                break;
+                }
+
</ins><span class="cx">                 ?&gt;
</span><span class="cx">                 &lt;form id=&quot;adv-settings&quot; action=&quot;&quot; method=&quot;post&quot;&gt;
</span><span class="cx">                 &lt;?php if ( isset( $wp_meta_boxes[ $this-&gt;id ] ) ) : ?&gt;
</span></span></pre></div>
<a id="trunkwpadminindexphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/index.php (18863 => 18864)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/index.php        2011-10-02 00:04:30 UTC (rev 18863)
+++ trunk/wp-admin/index.php        2011-10-02 06:59:36 UTC (rev 18864)
</span><span class="lines">@@ -27,6 +27,9 @@
</span><span class="cx"> else
</span><span class="cx">         add_screen_option('layout_columns', array('max' =&gt; 4, 'default' =&gt; 'auto') );
</span><span class="cx"> 
</span><ins>+$current_screen-&gt;add_screen_options( 
+'&lt;p&gt;test&lt;/p&gt;'
+);
</ins><span class="cx"> 
</span><span class="cx"> // Help tabs
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpadminlinkmanagerphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/link-manager.php (18863 => 18864)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/link-manager.php        2011-10-02 00:04:30 UTC (rev 18863)
+++ trunk/wp-admin/link-manager.php        2011-10-02 06:59:36 UTC (rev 18864)
</span><span class="lines">@@ -40,6 +40,10 @@
</span><span class="cx"> $title = __('Links');
</span><span class="cx"> $this_file = $parent_file = 'link-manager.php';
</span><span class="cx"> 
</span><ins>+$current_screen-&gt;add_screen_options( 
+'&lt;p&gt;test&lt;/p&gt;'
+);
+
</ins><span class="cx"> add_contextual_help( $current_screen,
</span><span class="cx">         '&lt;p&gt;' . sprintf(__('You can add links here to be displayed on your site, usually using &lt;a href=&quot;%s&quot;&gt;Widgets&lt;/a&gt;. By default, links to several sites in the WordPress community are included as examples.'), 'widgets.php') . '&lt;/p&gt;' .
</span><span class="cx">     '&lt;p&gt;' . __('Links may be separated into categories; these are different than the categories used on your posts.') . '&lt;/p&gt;' .
</span></span></pre></div>
<a id="trunkwpadminnavmenusphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/nav-menus.php (18863 => 18864)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/nav-menus.php        2011-10-02 00:04:30 UTC (rev 18863)
+++ trunk/wp-admin/nav-menus.php        2011-10-02 06:59:36 UTC (rev 18864)
</span><span class="lines">@@ -445,14 +445,17 @@
</span><span class="cx"> if ( ! current_theme_supports( 'menus' ) &amp;&amp; ! wp_get_nav_menus() )
</span><span class="cx">         $messages[] = '&lt;div id=&quot;message&quot; class=&quot;updated&quot;&gt;&lt;p&gt;' . __('The current theme does not natively support menus, but you can use the &amp;#8220;Custom Menu&amp;#8221; widget to add any menus you create here to the theme&amp;#8217;s sidebar.') . '&lt;/p&gt;&lt;/div&gt;';
</span><span class="cx"> 
</span><del>-$help =  '&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 &amp;#8220;Custom Menu&amp;#8221; widget to add menus to a sidebar.') . '&lt;/p&gt;';
-$help .= '&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;';
-$help .= '&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;';
-$help .= '&lt;p&gt;&lt;strong&gt;' . __('For more information:') . '&lt;/strong&gt;&lt;/p&gt;';
-$help .= '&lt;p&gt;' . __('&lt;a href=&quot;http://codex.wordpress.org/Appearance_Menus_Screen&quot; target=&quot;_blank&quot;&gt;Documentation on Menus&lt;/a&gt;') . '&lt;/p&gt;';
-$help .= '&lt;p&gt;' . __('&lt;a href=&quot;http://wordpress.org/support/&quot; target=&quot;_blank&quot;&gt;Support Forums&lt;/a&gt;') . '&lt;/p&gt;';
</del><ins>+$current_screen-&gt;add_screen_options( 
+'&lt;p&gt;test&lt;/p&gt;'
+);
</ins><span class="cx"> 
</span><del>-add_contextual_help($current_screen, $help);
</del><ins>+add_contextual_help( $current_screen, '
+&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 &amp;#8220;Custom Menu&amp;#8221; widget to add menus to a sidebar.') . '&lt;/p&gt;
+&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;
+&lt;p&gt;&lt;strong&gt;' . __('For more information:') . '&lt;/strong&gt;&lt;/p&gt;
+&lt;p&gt;' . __('&lt;a href=&quot;http://codex.wordpress.org/Appearance_Menus_Screen&quot; target=&quot;_blank&quot;&gt;Documentation on Menus&lt;/a&gt;') . '&lt;/p&gt;
+&lt;p&gt;' . __('&lt;a href=&quot;http://wordpress.org/support/&quot; target=&quot;_blank&quot;&gt;Support Forums&lt;/a&gt;') . '&lt;/p&gt;' );
</ins><span class="cx"> 
</span><span class="cx"> // Get the admin header
</span><span class="cx"> require_once( './admin-header.php' );
</span></span></pre></div>
<a id="trunkwpadminnetworkindexphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/network/index.php (18863 => 18864)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/network/index.php        2011-10-02 00:04:30 UTC (rev 18863)
+++ trunk/wp-admin/network/index.php        2011-10-02 06:59:36 UTC (rev 18864)
</span><span class="lines">@@ -40,6 +40,10 @@
</span><span class="cx"> 
</span><span class="cx"> add_screen_option('layout_columns', array('max' =&gt; 4, 'default' =&gt; 'auto') );
</span><span class="cx"> 
</span><ins>+$current_screen-&gt;add_screen_options( 
+'&lt;p&gt;test&lt;/p&gt;'
+);
+
</ins><span class="cx"> require_once( '../admin-header.php' );
</span><span class="cx"> 
</span><span class="cx"> ?&gt;
</span></span></pre></div>
<a id="trunkwpadminnetworksitethemesphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/network/site-themes.php (18863 => 18864)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/network/site-themes.php        2011-10-02 00:04:30 UTC (rev 18863)
+++ trunk/wp-admin/network/site-themes.php        2011-10-02 06:59:36 UTC (rev 18864)
</span><span class="lines">@@ -124,6 +124,10 @@
</span><span class="cx"> add_thickbox();
</span><span class="cx"> add_screen_option( 'per_page', array( 'label' =&gt; _x( 'Themes', 'themes per page (screen options)' ) ) );
</span><span class="cx"> 
</span><ins>+$current_screen-&gt;add_screen_options( 
+'&lt;p&gt;test&lt;/p&gt;'
+);
+
</ins><span class="cx"> $site_url_no_http = preg_replace( '#^http(s)?://#', '', get_blogaddress_by_id( $id ) );
</span><span class="cx"> $title_site_url_linked = sprintf( __('Edit Site: &lt;a href=&quot;%1$s&quot;&gt;%2$s&lt;/a&gt;'), get_blogaddress_by_id( $id ), $site_url_no_http );
</span><span class="cx"> $title = sprintf( __('Edit Site: %s'), $site_url_no_http );
</span></span></pre></div>
<a id="trunkwpadminnetworksiteusersphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/network/site-users.php (18863 => 18864)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/network/site-users.php        2011-10-02 00:04:30 UTC (rev 18863)
+++ trunk/wp-admin/network/site-users.php        2011-10-02 06:59:36 UTC (rev 18864)
</span><span class="lines">@@ -155,6 +155,10 @@
</span><span class="cx"> 
</span><span class="cx"> add_screen_option( 'per_page', array( 'label' =&gt; _x( 'Users', 'users per page (screen options)' ) ) );
</span><span class="cx"> 
</span><ins>+$current_screen-&gt;add_screen_options( 
+'&lt;p&gt;test&lt;/p&gt;'
+);
+
</ins><span class="cx"> $site_url_no_http = preg_replace( '#^http(s)?://#', '', get_blogaddress_by_id( $id ) );
</span><span class="cx"> $title_site_url_linked = sprintf( __('Edit Site: &lt;a href=&quot;%1$s&quot;&gt;%2$s&lt;/a&gt;'), get_blogaddress_by_id( $id ), $site_url_no_http );
</span><span class="cx"> $title = sprintf( __('Edit Site: %s'), $site_url_no_http );
</span></span></pre></div>
<a id="trunkwpadminnetworksitesphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/network/sites.php (18863 => 18864)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/network/sites.php        2011-10-02 00:04:30 UTC (rev 18863)
+++ trunk/wp-admin/network/sites.php        2011-10-02 06:59:36 UTC (rev 18864)
</span><span class="lines">@@ -24,6 +24,10 @@
</span><span class="cx"> 
</span><span class="cx"> add_screen_option( 'per_page', array('label' =&gt; _x( 'Sites', 'sites per page (screen options)' )) );
</span><span class="cx"> 
</span><ins>+$current_screen-&gt;add_screen_options( 
+'&lt;p&gt;test&lt;/p&gt;'
+);
+
</ins><span class="cx"> add_contextual_help($current_screen,
</span><span class="cx">         '&lt;p&gt;' . __('Add New takes you to the Add New Site screen. You can search for a site by Name, ID number, or IP address. Screen Options allows you to choose how many sites to display on one page.') . '&lt;/p&gt;' .
</span><span class="cx">         '&lt;p&gt;' . __('This is the main table of all sites on this network. Switch between list and excerpt views by using the icons above the right side of the table.') . '&lt;/p&gt;' .
</span></span></pre></div>
<a id="trunkwpadminnetworkthemesphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/network/themes.php (18863 => 18864)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/network/themes.php        2011-10-02 00:04:30 UTC (rev 18863)
+++ trunk/wp-admin/network/themes.php        2011-10-02 06:59:36 UTC (rev 18864)
</span><span class="lines">@@ -175,6 +175,10 @@
</span><span class="cx"> 
</span><span class="cx"> add_screen_option( 'per_page', array('label' =&gt; _x( 'Themes', 'themes per page (screen options)' )) );
</span><span class="cx"> 
</span><ins>+$current_screen-&gt;add_screen_options( 
+'&lt;p&gt;test&lt;/p&gt;'
+);
+
</ins><span class="cx"> add_contextual_help($current_screen,
</span><span class="cx">         '&lt;p&gt;' . __('This screen enables and disables the inclusion of themes available to choose in the Appearance menu for each site. It does not activate or deactivate which theme a site is currently using.') . '&lt;/p&gt;' .
</span><span class="cx">         '&lt;p&gt;' . __('If the network admin disables a theme that is in use, it can still remain selected on that site. If another theme is chosen, the disabled theme will not appear in the site&amp;#8217;s Appearance &gt; Themes screen.') . '&lt;/p&gt;' .
</span></span></pre></div>
<a id="trunkwpadminnetworkusersphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/network/users.php (18863 => 18864)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/network/users.php        2011-10-02 00:04:30 UTC (rev 18863)
+++ trunk/wp-admin/network/users.php        2011-10-02 06:59:36 UTC (rev 18864)
</span><span class="lines">@@ -229,6 +229,10 @@
</span><span class="cx"> 
</span><span class="cx"> add_screen_option( 'per_page', array('label' =&gt; _x( 'Users', 'users per page (screen options)' )) );
</span><span class="cx"> 
</span><ins>+$current_screen-&gt;add_screen_options( 
+'&lt;p&gt;test&lt;/p&gt;'
+);
+
</ins><span class="cx"> add_contextual_help($current_screen,
</span><span class="cx">         '&lt;p&gt;' . __('This table shows all users across the network and the sites to which they are assigned.') . '&lt;/p&gt;' .
</span><span class="cx">         '&lt;p&gt;' . __('Hover over any user on the list to make the edit links appear. The Edit link on the left will take you to his or her Edit User profile page; the Edit link on the right by any site name goes to an Edit Site screen for that site.') . '&lt;/p&gt;' .
</span></span></pre></div>
<a id="trunkwpadminplugininstallphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/plugin-install.php (18863 => 18864)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/plugin-install.php        2011-10-02 00:04:30 UTC (rev 18863)
+++ trunk/wp-admin/plugin-install.php        2011-10-02 06:59:36 UTC (rev 18864)
</span><span class="lines">@@ -35,16 +35,19 @@
</span><span class="cx"> 
</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><del>-add_contextual_help($current_screen,
-        '&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;' .
-        '&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;' .
-        '&lt;p&gt;&lt;strong&gt;' . __('For more information:') . '&lt;/strong&gt;&lt;/p&gt;' .
-        '&lt;p&gt;' . __('&lt;a href=&quot;http://codex.wordpress.org/Plugins_Add_New_Screen&quot; target=&quot;_blank&quot;&gt;Documentation on Installing Plugins&lt;/a&gt;') . '&lt;/p&gt;' .
-        '&lt;p&gt;' . __('&lt;a href=&quot;http://wordpress.org/support/&quot; target=&quot;_blank&quot;&gt;Support Forums&lt;/a&gt;') . '&lt;/p&gt;'
</del><ins>+$current_screen-&gt;add_screen_options( 
+'&lt;p&gt;test&lt;/p&gt;'
</ins><span class="cx"> );
</span><span class="cx"> 
</span><ins>+add_contextual_help( $current_screen, '
+&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;
+&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;
+&lt;p&gt;&lt;strong&gt;' . __('For more information:') . '&lt;/strong&gt;&lt;/p&gt;
+&lt;p&gt;' . __('&lt;a href=&quot;http://codex.wordpress.org/Plugins_Add_New_Screen&quot; target=&quot;_blank&quot;&gt;Documentation on Installing Plugins&lt;/a&gt;') . '&lt;/p&gt;
+&lt;p&gt;' . __('&lt;a href=&quot;http://wordpress.org/support/&quot; target=&quot;_blank&quot;&gt;Support Forums&lt;/a&gt;') . '&lt;/p&gt;' );
+
</ins><span class="cx"> include(ABSPATH . 'wp-admin/admin-header.php');
</span><span class="cx"> ?&gt;
</span><span class="cx"> &lt;div class=&quot;wrap&quot;&gt;
</span></span></pre></div>
<a id="trunkwpadminpluginsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/plugins.php (18863 => 18864)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/plugins.php        2011-10-02 00:04:30 UTC (rev 18863)
+++ trunk/wp-admin/plugins.php        2011-10-02 06:59:36 UTC (rev 18864)
</span><span class="lines">@@ -318,16 +318,19 @@
</span><span class="cx"> 
</span><span class="cx"> add_screen_option( 'per_page', array('label' =&gt; _x( 'Plugins', 'plugins per page (screen options)' )) );
</span><span class="cx"> 
</span><del>-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; target=&quot;_blank&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;' . __('&lt;a href=&quot;http://codex.wordpress.org/Managing_Plugins#Plugin_Management&quot; target=&quot;_blank&quot;&gt;Documentation on Managing Plugins&lt;/a&gt;') . '&lt;/p&gt;' .
-        '&lt;p&gt;' . __('&lt;a href=&quot;http://wordpress.org/support/&quot; target=&quot;_blank&quot;&gt;Support Forums&lt;/a&gt;') . '&lt;/p&gt;'
</del><ins>+$current_screen-&gt;add_screen_options( 
+'&lt;p&gt;test&lt;/p&gt;'
</ins><span class="cx"> );
</span><span class="cx"> 
</span><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; target=&quot;_blank&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;' . __('&lt;a href=&quot;http://codex.wordpress.org/Managing_Plugins#Plugin_Management&quot; target=&quot;_blank&quot;&gt;Documentation on Managing Plugins&lt;/a&gt;') . '&lt;/p&gt;
+&lt;p&gt;' . __('&lt;a href=&quot;http://wordpress.org/support/&quot; target=&quot;_blank&quot;&gt;Support Forums&lt;/a&gt;') . '&lt;/p&gt;' );
+
</ins><span class="cx"> $title = __('Plugins');
</span><span class="cx"> $parent_file = 'plugins.php';
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpadminuploadphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/upload.php (18863 => 18864)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/upload.php        2011-10-02 00:04:30 UTC (rev 18863)
+++ trunk/wp-admin/upload.php        2011-10-02 06:59:36 UTC (rev 18864)
</span><span class="lines">@@ -139,16 +139,19 @@
</span><span class="cx"> 
</span><span class="cx"> add_screen_option( 'per_page', array('label' =&gt; _x( 'Media items', 'items per page (screen options)' )) );
</span><span class="cx"> 
</span><del>-add_contextual_help( $current_screen,
-        '&lt;p&gt;' . __( 'All the files you&amp;#8217;ve uploaded are listed in the Media Library, with the most recent uploads listed first. You can use the &lt;em&gt;Screen Options&lt;/em&gt; tab to customize the display of this screen.' ) . '&lt;/p&gt;' .
-        '&lt;p&gt;' . __( 'You can narrow the list by file type/status using the text link filters at the top of the screen. You also can refine the list by date using the dropdown menu above the media table.' ) . '&lt;/p&gt;' .
-        '&lt;p&gt;' . __( 'Hovering over a row reveals action links: &lt;em&gt;Edit&lt;/em&gt;, &lt;em&gt;Delete Permanently&lt;/em&gt;, and &lt;em&gt;View&lt;/em&gt;. Clicking &lt;em&gt;Edit&lt;/em&gt; or on the media file&amp;#8217;s name displays a simple screen to edit that individual file&amp;#8217;s metadata. Clicking &lt;em&gt;Delete Permanently&lt;/em&gt; will delete the file from the media library (as well as from any posts to which it is currently attached). &lt;em&gt;View&lt;/em&gt; will take you to the display page for that file.' ) . '&lt;/p&gt;' .
-        '&lt;p&gt;' . __( 'If a media file has not been attached to any post, you will see that in the &lt;em&gt;Attached To&lt;/em&gt; column, and can click on &lt;em&gt;Attach File&lt;/em&gt; to launch a small popup that will allow you to search for a post and attach the file.' ) . '&lt;/p&gt;' .
-        '&lt;p&gt;&lt;strong&gt;' . __( 'For more information:' ) . '&lt;/strong&gt;&lt;/p&gt;' .
-        '&lt;p&gt;' . __( '&lt;a href=&quot;http://codex.wordpress.org/Media_Library_Screen&quot; target=&quot;_blank&quot;&gt;Documentation on Media Library&lt;/a&gt;' ) . '&lt;/p&gt;' .
-        '&lt;p&gt;' . __( '&lt;a href=&quot;http://wordpress.org/support/&quot; target=&quot;_blank&quot;&gt;Support Forums&lt;/a&gt;' ) . '&lt;/p&gt;'
</del><ins>+$current_screen-&gt;add_screen_options( 
+'&lt;p&gt;test&lt;/p&gt;'
</ins><span class="cx"> );
</span><span class="cx"> 
</span><ins>+add_contextual_help( $current_screen, '
+&lt;p&gt;' . __( 'All the files you&amp;#8217;ve uploaded are listed in the Media Library, with the most recent uploads listed first. You can use the &lt;em&gt;Screen Options&lt;/em&gt; tab to customize the display of this screen.' ) . '&lt;/p&gt;
+&lt;p&gt;' . __( 'You can narrow the list by file type/status using the text link filters at the top of the screen. You also can refine the list by date using the dropdown menu above the media table.' ) . '&lt;/p&gt;
+&lt;p&gt;' . __( 'Hovering over a row reveals action links: &lt;em&gt;Edit&lt;/em&gt;, &lt;em&gt;Delete Permanently&lt;/em&gt;, and &lt;em&gt;View&lt;/em&gt;. Clicking &lt;em&gt;Edit&lt;/em&gt; or on the media file&amp;#8217;s name displays a simple screen to edit that individual file&amp;#8217;s metadata. Clicking &lt;em&gt;Delete Permanently&lt;/em&gt; will delete the file from the media library (as well as from any posts to which it is currently attached). &lt;em&gt;View&lt;/em&gt; will take you to the display page for that file.' ) . '&lt;/p&gt;
+&lt;p&gt;' . __( 'If a media file has not been attached to any post, you will see that in the &lt;em&gt;Attached To&lt;/em&gt; column, and can click on &lt;em&gt;Attach File&lt;/em&gt; to launch a small popup that will allow you to search for a post and attach the file.' ) . '&lt;/p&gt;
+&lt;p&gt;&lt;strong&gt;' . __( 'For more information:' ) . '&lt;/strong&gt;&lt;/p&gt;
+&lt;p&gt;' . __( '&lt;a href=&quot;http://codex.wordpress.org/Media_Library_Screen&quot; target=&quot;_blank&quot;&gt;Documentation on Media Library&lt;/a&gt;' ) . '&lt;/p&gt;
+&lt;p&gt;' . __( '&lt;a href=&quot;http://wordpress.org/support/&quot; target=&quot;_blank&quot;&gt;Support Forums&lt;/a&gt;' ) . '&lt;/p&gt;' );
+
</ins><span class="cx"> require_once('./admin-header.php');
</span><span class="cx"> ?&gt;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpadminusersphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/users.php (18863 => 18864)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/users.php        2011-10-02 00:04:30 UTC (rev 18863)
+++ trunk/wp-admin/users.php        2011-10-02 06:59:36 UTC (rev 18864)
</span><span class="lines">@@ -19,17 +19,19 @@
</span><span class="cx"> 
</span><span class="cx"> add_screen_option( 'per_page', array('label' =&gt; _x( 'Users', 'users per page (screen options)' )) );
</span><span class="cx"> 
</span><del>-// contextual help - choose Help on the top right of admin panel to preview this.
-add_contextual_help($current_screen,
-    '&lt;p&gt;' . __('This screen lists all the existing users for your site. Each user has one of five defined roles as set by the site admin: Site Administrator, Editor, Author, Contributor, or Subscriber. Users with roles other than Administrator will see fewer options in the dashboard navigation when they are logged in, based on their role.') . '&lt;/p&gt;' .
-    '&lt;p&gt;' . __('You can customize the display of information on this screen as you can on other screens, by using the Screen Options tab and the on-screen filters.') . '&lt;/p&gt;' .
-    '&lt;p&gt;' . __('To add a new user for your site, click the Add New button at the top of the screen or Add New in the Users menu section.') . '&lt;/p&gt;' .
-    '&lt;p&gt;&lt;strong&gt;' . __('For more information:') . '&lt;/strong&gt;&lt;/p&gt;' .
-    '&lt;p&gt;' . __('&lt;a href=&quot;http://codex.wordpress.org/Users_Screen&quot; target=&quot;_blank&quot;&gt;Documentation on Managing Users&lt;/a&gt;') . '&lt;/p&gt;' .
-    '&lt;p&gt;' . __('&lt;a href=&quot;http://codex.wordpress.org/Roles_and_Capabilities&quot; target=&quot;_blank&quot;&gt;Descriptions of Roles and Capabilities&lt;/a&gt;') . '&lt;/p&gt;' .
-    '&lt;p&gt;' . __('&lt;a href=&quot;http://wordpress.org/support/&quot; target=&quot;_blank&quot;&gt;Support Forums&lt;/a&gt;') . '&lt;/p&gt;'
</del><ins>+$current_screen-&gt;add_screen_options( 
+'&lt;p&gt;test&lt;/p&gt;'
</ins><span class="cx"> );
</span><span class="cx"> 
</span><ins>+add_contextual_help( $current_screen, '
+&lt;p&gt;' . __('This screen lists all the existing users for your site. Each user has one of five defined roles as set by the site admin: Site Administrator, Editor, Author, Contributor, or Subscriber. Users with roles other than Administrator will see fewer options in the dashboard navigation when they are logged in, based on their role.') . '&lt;/p&gt;
+&lt;p&gt;' . __('You can customize the display of information on this screen as you can on other screens, by using the Screen Options tab and the on-screen filters.') . '&lt;/p&gt;
+&lt;p&gt;' . __('To add a new user for your site, click the Add New button at the top of the screen or Add New in the Users menu section.') . '&lt;/p&gt;
+&lt;p&gt;&lt;strong&gt;' . __('For more information:') . '&lt;/strong&gt;&lt;/p&gt;
+&lt;p&gt;' . __('&lt;a href=&quot;http://codex.wordpress.org/Users_Screen&quot; target=&quot;_blank&quot;&gt;Documentation on Managing Users&lt;/a&gt;') . '&lt;/p&gt;
+&lt;p&gt;' . __('&lt;a href=&quot;http://codex.wordpress.org/Roles_and_Capabilities&quot; target=&quot;_blank&quot;&gt;Descriptions of Roles and Capabilities&lt;/a&gt;') . '&lt;/p&gt;
+&lt;p&gt;' . __('&lt;a href=&quot;http://wordpress.org/support/&quot; target=&quot;_blank&quot;&gt;Support Forums&lt;/a&gt;') . '&lt;/p&gt;' );
+
</ins><span class="cx"> if ( empty($_REQUEST) ) {
</span><span class="cx">         $referer = '&lt;input type=&quot;hidden&quot; name=&quot;wp_http_referer&quot; value=&quot;'. esc_attr(stripslashes($_SERVER['REQUEST_URI'])) . '&quot; /&gt;';
</span><span class="cx"> } elseif ( isset($_REQUEST['wp_http_referer']) ) {
</span></span></pre></div>
<a id="trunkwpadminwidgetsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/widgets.php (18863 => 18864)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/widgets.php        2011-10-02 00:04:30 UTC (rev 18863)
+++ trunk/wp-admin/widgets.php        2011-10-02 06:59:36 UTC (rev 18864)
</span><span class="lines">@@ -31,19 +31,21 @@
</span><span class="cx"> $title = __( 'Widgets' );
</span><span class="cx"> $parent_file = 'themes.php';
</span><span class="cx"> 
</span><del>-$help = '
-        &lt;p&gt;' . __('Widgets are independent sections of content that can be placed into any widgetized area provided by your theme (commonly called sidebars). To populate your sidebars/widget areas with individual widgets, drag and drop the title bars into the desired area. By default, only the first widget area is expanded. To populate additional widget areas, click on their title bars to expand them.') . '&lt;/p&gt;
-        &lt;p&gt;' . __('The Available Widgets section contains all the widgets you can choose from. Once you drag a widget into a sidebar, it will open to allow you to configure its settings. When you are happy with the widget settings, click the Save button and the widget will go live on your site. If you click Delete, it will remove the widget.') . '&lt;/p&gt;
-        &lt;p&gt;' . __('If you want to remove the widget but save its setting for possible future use, just drag it into the Inactive Widgets area. You can add them back anytime from there. This is especially helpful when you switch to a theme with fewer or different widget areas.') . '&lt;/p&gt;
-        &lt;p&gt;' . __('Widgets may be used multiple times. You can give each widget a title, to display on your site, but it&amp;#8217;s not required.') . '&lt;/p&gt;
-        &lt;p&gt;' . __('Enabling Accessibility Mode, via Screen Options, allows you to use Add and Edit buttons instead of using drag and drop.') . '&lt;/p&gt;
-        &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;
-';
-$help .= '&lt;p&gt;&lt;strong&gt;' . __('For more information:') . '&lt;/strong&gt;&lt;/p&gt;';
-$help .= '&lt;p&gt;' . __('&lt;a href=&quot;http://codex.wordpress.org/Appearance_Widgets_Screen&quot; target=&quot;_blank&quot;&gt;Documentation on Widgets&lt;/a&gt;') . '&lt;/p&gt;';
-$help .= '&lt;p&gt;' . __('&lt;a href=&quot;http://wordpress.org/support/&quot; target=&quot;_blank&quot;&gt;Support Forums&lt;/a&gt;') . '&lt;/p&gt;';
-add_contextual_help($current_screen, $help);
</del><ins>+$current_screen-&gt;add_screen_options( 
+'&lt;p&gt;test&lt;/p&gt;'
+);
</ins><span class="cx"> 
</span><ins>+add_contextual_help( $current_screen, '
+&lt;p&gt;' . __('Widgets are independent sections of content that can be placed into any widgetized area provided by your theme (commonly called sidebars). To populate your sidebars/widget areas with individual widgets, drag and drop the title bars into the desired area. By default, only the first widget area is expanded. To populate additional widget areas, click on their title bars to expand them.') . '&lt;/p&gt;
+&lt;p&gt;' . __('The Available Widgets section contains all the widgets you can choose from. Once you drag a widget into a sidebar, it will open to allow you to configure its settings. When you are happy with the widget settings, click the Save button and the widget will go live on your site. If you click Delete, it will remove the widget.') . '&lt;/p&gt;
+&lt;p&gt;' . __('If you want to remove the widget but save its setting for possible future use, just drag it into the Inactive Widgets area. You can add them back anytime from there. This is especially helpful when you switch to a theme with fewer or different widget areas.') . '&lt;/p&gt;
+&lt;p&gt;' . __('Widgets may be used multiple times. You can give each widget a title, to display on your site, but it&amp;#8217;s not required.') . '&lt;/p&gt;
+&lt;p&gt;' . __('Enabling Accessibility Mode, via Screen Options, allows you to use Add and Edit buttons instead of using drag and drop.') . '&lt;/p&gt;
+&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;&lt;strong&gt;' . __('For more information:') . '&lt;/strong&gt;&lt;/p&gt;
+&lt;p&gt;' . __('&lt;a href=&quot;http://codex.wordpress.org/Appearance_Widgets_Screen&quot; target=&quot;_blank&quot;&gt;Documentation on Widgets&lt;/a&gt;') . '&lt;/p&gt;
+&lt;p&gt;' . __('&lt;a href=&quot;http://wordpress.org/support/&quot; target=&quot;_blank&quot;&gt;Support Forums&lt;/a&gt;') . '&lt;/p&gt;' );
+
</ins><span class="cx"> // These are the widgets grouped by sidebar
</span><span class="cx"> $sidebars_widgets = wp_get_sidebars_widgets();
</span><span class="cx"> 
</span></span></pre>
</div>
</div>

</body>
</html>