<!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>[17322] trunk: Remove AJAX from list tables.</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.wordpress.org/changeset/17322">17322</a></dd>
<dt>Author</dt> <dd>nacin</dd>
<dt>Date</dt> <dd>2011-01-16 21:47:24 +0000 (Sun, 16 Jan 2011)</dd>
</dl>

<h3>Log Message</h3>
<pre>Remove AJAX from list tables. first pass. see <a href="http://trac.wordpress.org/ticket/16262">#16262</a>.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpadmineditcommentsphp">trunk/wp-admin/edit-comments.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="#trunkwpadminincludesclasswpcommentslisttablephp">trunk/wp-admin/includes/class-wp-comments-list-table.php</a></li>
<li><a href="#trunkwpadminincludesclasswplinkslisttablephp">trunk/wp-admin/includes/class-wp-links-list-table.php</a></li>
<li><a href="#trunkwpadminincludesclasswplisttablephp">trunk/wp-admin/includes/class-wp-list-table.php</a></li>
<li><a href="#trunkwpadminincludesclasswpmedialisttablephp">trunk/wp-admin/includes/class-wp-media-list-table.php</a></li>
<li><a href="#trunkwpadminincludesclasswpmssiteslisttablephp">trunk/wp-admin/includes/class-wp-ms-sites-list-table.php</a></li>
<li><a href="#trunkwpadminincludesclasswpmsthemeslisttablephp">trunk/wp-admin/includes/class-wp-ms-themes-list-table.php</a></li>
<li><a href="#trunkwpadminincludesclasswpmsuserslisttablephp">trunk/wp-admin/includes/class-wp-ms-users-list-table.php</a></li>
<li><a href="#trunkwpadminincludesclasswpplugininstalllisttablephp">trunk/wp-admin/includes/class-wp-plugin-install-list-table.php</a></li>
<li><a href="#trunkwpadminincludesclasswppluginslisttablephp">trunk/wp-admin/includes/class-wp-plugins-list-table.php</a></li>
<li><a href="#trunkwpadminincludesclasswppostslisttablephp">trunk/wp-admin/includes/class-wp-posts-list-table.php</a></li>
<li><a href="#trunkwpadminincludesclasswptermslisttablephp">trunk/wp-admin/includes/class-wp-terms-list-table.php</a></li>
<li><a href="#trunkwpadminincludesclasswpthemeinstalllisttablephp">trunk/wp-admin/includes/class-wp-theme-install-list-table.php</a></li>
<li><a href="#trunkwpadminincludesclasswpthemeslisttablephp">trunk/wp-admin/includes/class-wp-themes-list-table.php</a></li>
<li><a href="#trunkwpadminincludesclasswpuserslisttablephp">trunk/wp-admin/includes/class-wp-users-list-table.php</a></li>
<li><a href="#trunkwpadminincludeslisttablephp">trunk/wp-admin/includes/list-table.php</a></li>
<li><a href="#trunkwpadminincludesmetaboxesphp">trunk/wp-admin/includes/meta-boxes.php</a></li>
<li><a href="#trunkwpadminincludestemplatephp">trunk/wp-admin/includes/template.php</a></li>
<li><a href="#trunkwpadminincludesupdatephp">trunk/wp-admin/includes/update.php</a></li>
<li><a href="#trunkwpadminlinkmanagerphp">trunk/wp-admin/link-manager.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="#trunkwpadminthemeinstallphp">trunk/wp-admin/theme-install.php</a></li>
<li><a href="#trunkwpadminthemesphp">trunk/wp-admin/themes.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="#trunkwpincludesscriptloaderphp">trunk/wp-includes/script-loader.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 (17321 => 17322)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/edit-comments.php        2011-01-16 21:34:38 UTC (rev 17321)
+++ trunk/wp-admin/edit-comments.php        2011-01-16 21:47:24 UTC (rev 17322)
</span><span class="lines">@@ -11,7 +11,7 @@
</span><span class="cx"> if ( !current_user_can('edit_posts') )
</span><span class="cx">         wp_die(__('Cheatin&amp;#8217; uh?'));
</span><span class="cx"> 
</span><del>-$wp_list_table = get_list_table('WP_Comments_List_Table');
</del><ins>+$wp_list_table = _get_list_table('WP_Comments_List_Table');
</ins><span class="cx"> $pagenum = $wp_list_table-&gt;get_pagenum();
</span><span class="cx"> 
</span><span class="cx"> $doaction = $wp_list_table-&gt;current_action();
</span></span></pre></div>
<a id="trunkwpadminedittagsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/edit-tags.php (17321 => 17322)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/edit-tags.php        2011-01-16 21:34:38 UTC (rev 17321)
+++ trunk/wp-admin/edit-tags.php        2011-01-16 21:47:24 UTC (rev 17322)
</span><span class="lines">@@ -12,7 +12,7 @@
</span><span class="cx"> if ( !current_user_can( $tax-&gt;cap-&gt;manage_terms ) )
</span><span class="cx">         wp_die( __( 'Cheatin&amp;#8217; uh?' ) );
</span><span class="cx"> 
</span><del>-$wp_list_table = get_list_table('WP_Terms_List_Table');
</del><ins>+$wp_list_table = _get_list_table('WP_Terms_List_Table');
</ins><span class="cx"> 
</span><span class="cx"> $title = $tax-&gt;labels-&gt;name;
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpadmineditphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/edit.php (17321 => 17322)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/edit.php        2011-01-16 21:34:38 UTC (rev 17321)
+++ trunk/wp-admin/edit.php        2011-01-16 21:47:24 UTC (rev 17322)
</span><span class="lines">@@ -23,7 +23,7 @@
</span><span class="cx"> if ( !current_user_can($post_type_object-&gt;cap-&gt;edit_posts) )
</span><span class="cx">         wp_die(__('Cheatin&amp;#8217; uh?'));
</span><span class="cx"> 
</span><del>-$wp_list_table = get_list_table('WP_Posts_List_Table');
</del><ins>+$wp_list_table = _get_list_table('WP_Posts_List_Table');
</ins><span class="cx"> $pagenum = $wp_list_table-&gt;get_pagenum();
</span><span class="cx"> 
</span><span class="cx"> // Back-compat for viewing comments of an entry
</span></span></pre></div>
<a id="trunkwpadminincludesclasswpcommentslisttablephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/class-wp-comments-list-table.php (17321 => 17322)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/class-wp-comments-list-table.php        2011-01-16 21:34:38 UTC (rev 17321)
+++ trunk/wp-admin/includes/class-wp-comments-list-table.php        2011-01-16 21:47:24 UTC (rev 17322)
</span><span class="lines">@@ -13,6 +13,7 @@
</span><span class="cx">  * @package WordPress
</span><span class="cx">  * @subpackage List_Table
</span><span class="cx">  * @since 3.1.0
</span><ins>+ * @access private
</ins><span class="cx">  */
</span><span class="cx"> class WP_Comments_List_Table extends WP_List_Table {
</span><span class="cx"> 
</span><span class="lines">@@ -266,7 +267,7 @@
</span><span class="cx">         function display() {
</span><span class="cx">                 extract( $this-&gt;_args );
</span><span class="cx"> 
</span><del>-                wp_nonce_field( &quot;fetch-list-&quot; . get_class( $this ), '_ajax_fetch_list_nonce' );
</del><ins>+                // wp_nonce_field( &quot;fetch-list-&quot; . get_class( $this ), '_ajax_fetch_list_nonce' );
</ins><span class="cx"> 
</span><span class="cx">                 $this-&gt;display_tablenav( 'top' );
</span><span class="cx"> 
</span><span class="lines">@@ -509,6 +510,7 @@
</span><span class="cx">  * @package WordPress
</span><span class="cx">  * @subpackage List_Table
</span><span class="cx">  * @since 3.1.0
</span><ins>+ * @access private
</ins><span class="cx">  *
</span><span class="cx">  * @see WP_Comments_Table
</span><span class="cx">  */
</span><span class="lines">@@ -536,7 +538,7 @@
</span><span class="cx">         function display( $output_empty = false ) {
</span><span class="cx">                 extract( $this-&gt;_args );
</span><span class="cx"> 
</span><del>-                wp_nonce_field( &quot;fetch-list-&quot; . get_class( $this ), '_ajax_fetch_list_nonce' );
</del><ins>+                // wp_nonce_field( &quot;fetch-list-&quot; . get_class( $this ), '_ajax_fetch_list_nonce' );
</ins><span class="cx"> ?&gt;
</span><span class="cx"> &lt;table class=&quot;&lt;?php echo implode( ' ', $this-&gt;get_table_classes() ); ?&gt;&quot; cellspacing=&quot;0&quot; style=&quot;display:none;&quot;&gt;
</span><span class="cx">         &lt;tbody id=&quot;the-comment-list&quot;&lt;?php if ( $singular ) echo &quot; class='list:$singular'&quot;; ?&gt;&gt;
</span></span></pre></div>
<a id="trunkwpadminincludesclasswplinkslisttablephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/class-wp-links-list-table.php (17321 => 17322)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/class-wp-links-list-table.php        2011-01-16 21:34:38 UTC (rev 17321)
+++ trunk/wp-admin/includes/class-wp-links-list-table.php        2011-01-16 21:47:24 UTC (rev 17322)
</span><span class="lines">@@ -5,6 +5,7 @@
</span><span class="cx">  * @package WordPress
</span><span class="cx">  * @subpackage List_Table
</span><span class="cx">  * @since 3.1.0
</span><ins>+ * @access private
</ins><span class="cx">  */
</span><span class="cx"> class WP_Links_List_Table extends WP_List_Table {
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpadminincludesclasswplisttablephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/class-wp-list-table.php (17321 => 17322)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/class-wp-list-table.php        2011-01-16 21:34:38 UTC (rev 17321)
+++ trunk/wp-admin/includes/class-wp-list-table.php        2011-01-16 21:47:24 UTC (rev 17322)
</span><span class="lines">@@ -13,6 +13,7 @@
</span><span class="cx">  * @package WordPress
</span><span class="cx">  * @subpackage List_Table
</span><span class="cx">  * @since 3.1.0
</span><ins>+ * @access private
</ins><span class="cx">  */
</span><span class="cx"> class WP_List_Table {
</span><span class="cx"> 
</span><span class="lines">@@ -92,10 +93,10 @@
</span><span class="cx"> 
</span><span class="cx">                 $this-&gt;_args = $args;
</span><span class="cx"> 
</span><del>-                if ( $args['ajax'] ) {
-                        wp_enqueue_script( 'list-table' );
-                        add_action( 'admin_footer', array( &amp;$this, '_js_vars' ) );
-                }
</del><ins>+                // if ( $args['ajax'] ) {
+                //        wp_enqueue_script( 'list-table' );
+                //        add_action( 'admin_footer', array( &amp;$this, '_js_vars' ) );
+                // }
</ins><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         /**
</span><span class="lines">@@ -199,9 +200,8 @@
</span><span class="cx"> &lt;p class=&quot;search-box&quot;&gt;
</span><span class="cx">         &lt;label class=&quot;screen-reader-text&quot; for=&quot;&lt;?php echo $input_id ?&gt;&quot;&gt;&lt;?php echo $text; ?&gt;:&lt;/label&gt;
</span><span class="cx">         &lt;input type=&quot;text&quot; id=&quot;&lt;?php echo $input_id ?&gt;&quot; name=&quot;s&quot; value=&quot;&lt;?php _admin_search_query(); ?&gt;&quot; /&gt;
</span><del>-        &lt;?php submit_button( $text, 'button', 'submit', false, array('id' =&gt; 'search-submit') ); ?&gt;
</del><ins>+        &lt;?php submit_button( $text, 'button', false, false, array('id' =&gt; 'search-submit') ); ?&gt;
</ins><span class="cx"> &lt;/p&gt;
</span><del>-&lt;img src=&quot;&lt;?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?&gt;&quot; class=&quot;ajax-loading list-ajax-loading&quot; alt=&quot;&quot; /&gt;
</del><span class="cx"> &lt;?php
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="lines">@@ -467,12 +467,7 @@
</span><span class="cx">          * @since 3.1.0
</span><span class="cx">          * @access protected
</span><span class="cx">          */
</span><del>-        function pagination() {
-                if ( $this-&gt;_pagination ) {
-                        echo $this-&gt;_pagination;
-                        return;
-                }
-
</del><ins>+        function pagination( $which ) {
</ins><span class="cx">                 if ( empty( $this-&gt;_pagination_args ) )
</span><span class="cx">                         return;
</span><span class="cx"> 
</span><span class="lines">@@ -506,12 +501,16 @@
</span><span class="cx">                         '&amp;lsaquo;'
</span><span class="cx">                 );
</span><span class="cx"> 
</span><del>-                $html_current_page = sprintf( &quot;&lt;input class='current-page' title='%s' type='text' name='%s' value='%s' size='%d' /&gt;&quot;,
-                        esc_attr__( 'Current page' ),
-                        esc_attr( 'paged' ),
-                        number_format_i18n( $current ),
-                        strlen( $total_pages )
-                );
</del><ins>+                if ( 'bottom' == $which )
+                        $html_current_page = $current;
+                else
+                        $html_current_page = sprintf( &quot;&lt;input class='current-page' title='%s' type='text' name='%s' value='%s' size='%d' /&gt;&quot;,
+                                esc_attr__( 'Current page' ),
+                                esc_attr( 'paged' ),
+                                $current,
+                                strlen( $total_pages )
+                        );
+
</ins><span class="cx">                 $html_total_pages = sprintf( &quot;&lt;span class='total-pages'&gt;%s&lt;/span&gt;&quot;, number_format_i18n( $total_pages ) );
</span><span class="cx">                 $page_links[] = '&lt;span class=&quot;paging-input&quot;&gt;' . sprintf( _x( '%1$s of %2$s', 'paging' ), $html_current_page, $html_total_pages ) . '&lt;/span&gt;';
</span><span class="cx"> 
</span><span class="lines">@@ -633,6 +632,7 @@
</span><span class="cx">                 list( $columns, $hidden, $sortable ) = $this-&gt;get_column_info();
</span><span class="cx"> 
</span><span class="cx">                 $current_url = ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
</span><ins>+                $current_url = remove_query_arg( 'paged', $current_url );
</ins><span class="cx"> 
</span><span class="cx">                 if ( isset( $_GET['orderby'] ) )
</span><span class="cx">                         $current_orderby = $_GET['orderby'];
</span><span class="lines">@@ -692,8 +692,6 @@
</span><span class="cx">         function display() {
</span><span class="cx">                 extract( $this-&gt;_args );
</span><span class="cx"> 
</span><del>-                wp_nonce_field( &quot;fetch-list-&quot; . get_class( $this ), '_ajax_fetch_list_nonce' );
-
</del><span class="cx">                 $this-&gt;display_tablenav( 'top' );
</span><span class="cx"> 
</span><span class="cx"> ?&gt;
</span><span class="lines">@@ -748,11 +746,7 @@
</span><span class="cx"> &lt;?php
</span><span class="cx">                 $this-&gt;extra_tablenav( $which );
</span><span class="cx">                 $this-&gt;pagination( $which );
</span><del>-
-if ( 'bottom' == $which ) {
</del><span class="cx"> ?&gt;
</span><del>-&lt;img src=&quot;&lt;?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?&gt;&quot; class=&quot;ajax-loading list-ajax-loading&quot; alt=&quot;&quot; /&gt;
-&lt;?php } ?&gt;
</del><span class="cx"> 
</span><span class="cx">                 &lt;br class=&quot;clear&quot; /&gt;
</span><span class="cx">         &lt;/div&gt;
</span></span></pre></div>
<a id="trunkwpadminincludesclasswpmedialisttablephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/class-wp-media-list-table.php (17321 => 17322)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/class-wp-media-list-table.php        2011-01-16 21:34:38 UTC (rev 17321)
+++ trunk/wp-admin/includes/class-wp-media-list-table.php        2011-01-16 21:47:24 UTC (rev 17322)
</span><span class="lines">@@ -5,6 +5,7 @@
</span><span class="cx">  * @package WordPress
</span><span class="cx">  * @subpackage List_Table
</span><span class="cx">  * @since 3.1.0
</span><ins>+ * @access private
</ins><span class="cx">  */
</span><span class="cx"> class WP_Media_List_Table extends WP_List_Table {
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpadminincludesclasswpmssiteslisttablephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/class-wp-ms-sites-list-table.php (17321 => 17322)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/class-wp-ms-sites-list-table.php        2011-01-16 21:34:38 UTC (rev 17321)
+++ trunk/wp-admin/includes/class-wp-ms-sites-list-table.php        2011-01-16 21:47:24 UTC (rev 17322)
</span><span class="lines">@@ -5,6 +5,7 @@
</span><span class="cx">  * @package WordPress
</span><span class="cx">  * @subpackage List_Table
</span><span class="cx">  * @since 3.1.0
</span><ins>+ * @access private
</ins><span class="cx">  */
</span><span class="cx"> class WP_MS_Sites_List_Table extends WP_List_Table {
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpadminincludesclasswpmsthemeslisttablephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/class-wp-ms-themes-list-table.php (17321 => 17322)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/class-wp-ms-themes-list-table.php        2011-01-16 21:34:38 UTC (rev 17321)
+++ trunk/wp-admin/includes/class-wp-ms-themes-list-table.php        2011-01-16 21:47:24 UTC (rev 17322)
</span><span class="lines">@@ -5,6 +5,7 @@
</span><span class="cx">  * @package WordPress
</span><span class="cx">  * @subpackage List_Table
</span><span class="cx">  * @since 3.1.0
</span><ins>+ * @access private
</ins><span class="cx">  */
</span><span class="cx"> class WP_MS_Themes_List_Table extends WP_List_Table {
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpadminincludesclasswpmsuserslisttablephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/class-wp-ms-users-list-table.php (17321 => 17322)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/class-wp-ms-users-list-table.php        2011-01-16 21:34:38 UTC (rev 17321)
+++ trunk/wp-admin/includes/class-wp-ms-users-list-table.php        2011-01-16 21:47:24 UTC (rev 17322)
</span><span class="lines">@@ -5,6 +5,7 @@
</span><span class="cx">  * @package WordPress
</span><span class="cx">  * @subpackage List_Table
</span><span class="cx">  * @since 3.1.0
</span><ins>+ * @access private
</ins><span class="cx">  */
</span><span class="cx"> class WP_MS_Users_List_Table extends WP_List_Table {
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpadminincludesclasswpplugininstalllisttablephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/class-wp-plugin-install-list-table.php (17321 => 17322)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/class-wp-plugin-install-list-table.php        2011-01-16 21:34:38 UTC (rev 17321)
+++ trunk/wp-admin/includes/class-wp-plugin-install-list-table.php        2011-01-16 21:47:24 UTC (rev 17322)
</span><span class="lines">@@ -5,6 +5,7 @@
</span><span class="cx">  * @package WordPress
</span><span class="cx">  * @subpackage List_Table
</span><span class="cx">  * @since 3.1.0
</span><ins>+ * @access private
</ins><span class="cx">  */
</span><span class="cx"> class WP_Plugin_Install_List_Table extends WP_List_Table {
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpadminincludesclasswppluginslisttablephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/class-wp-plugins-list-table.php (17321 => 17322)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/class-wp-plugins-list-table.php        2011-01-16 21:34:38 UTC (rev 17321)
+++ trunk/wp-admin/includes/class-wp-plugins-list-table.php        2011-01-16 21:47:24 UTC (rev 17322)
</span><span class="lines">@@ -5,6 +5,7 @@
</span><span class="cx">  * @package WordPress
</span><span class="cx">  * @subpackage List_Table
</span><span class="cx">  * @since 3.1.0
</span><ins>+ * @access private
</ins><span class="cx">  */
</span><span class="cx"> class WP_Plugins_List_Table extends WP_List_Table {
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpadminincludesclasswppostslisttablephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/class-wp-posts-list-table.php (17321 => 17322)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/class-wp-posts-list-table.php        2011-01-16 21:34:38 UTC (rev 17321)
+++ trunk/wp-admin/includes/class-wp-posts-list-table.php        2011-01-16 21:47:24 UTC (rev 17322)
</span><span class="lines">@@ -5,6 +5,7 @@
</span><span class="cx">  * @package WordPress
</span><span class="cx">  * @subpackage List_Table
</span><span class="cx">  * @since 3.1.0
</span><ins>+ * @access private
</ins><span class="cx">  */
</span><span class="cx"> class WP_Posts_List_Table extends WP_List_Table {
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpadminincludesclasswptermslisttablephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/class-wp-terms-list-table.php (17321 => 17322)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/class-wp-terms-list-table.php        2011-01-16 21:34:38 UTC (rev 17321)
+++ trunk/wp-admin/includes/class-wp-terms-list-table.php        2011-01-16 21:47:24 UTC (rev 17322)
</span><span class="lines">@@ -5,6 +5,7 @@
</span><span class="cx">  * @package WordPress
</span><span class="cx">  * @subpackage List_Table
</span><span class="cx">  * @since 3.1.0
</span><ins>+ * @access private
</ins><span class="cx">  */
</span><span class="cx"> class WP_Terms_List_Table extends WP_List_Table {
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpadminincludesclasswpthemeinstalllisttablephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/class-wp-theme-install-list-table.php (17321 => 17322)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/class-wp-theme-install-list-table.php        2011-01-16 21:34:38 UTC (rev 17321)
+++ trunk/wp-admin/includes/class-wp-theme-install-list-table.php        2011-01-16 21:47:24 UTC (rev 17322)
</span><span class="lines">@@ -5,6 +5,7 @@
</span><span class="cx">  * @package WordPress
</span><span class="cx">  * @subpackage List_Table
</span><span class="cx">  * @since 3.1.0
</span><ins>+ * @access private
</ins><span class="cx">  */
</span><span class="cx"> class WP_Theme_Install_List_Table extends WP_List_Table {
</span><span class="cx"> 
</span><span class="lines">@@ -127,7 +128,7 @@
</span><span class="cx"> 
</span><span class="cx">         function display() {
</span><span class="cx"> 
</span><del>-                wp_nonce_field( &quot;fetch-list-&quot; . get_class( $this ), '_ajax_fetch_list_nonce' );
</del><ins>+                // wp_nonce_field( &quot;fetch-list-&quot; . get_class( $this ), '_ajax_fetch_list_nonce' );
</ins><span class="cx"> ?&gt;
</span><span class="cx">                 &lt;div class=&quot;tablenav top&quot;&gt;
</span><span class="cx">                         &lt;div class=&quot;alignleft actions&quot;&gt;
</span></span></pre></div>
<a id="trunkwpadminincludesclasswpthemeslisttablephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/class-wp-themes-list-table.php (17321 => 17322)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/class-wp-themes-list-table.php        2011-01-16 21:34:38 UTC (rev 17321)
+++ trunk/wp-admin/includes/class-wp-themes-list-table.php        2011-01-16 21:47:24 UTC (rev 17322)
</span><span class="lines">@@ -5,6 +5,7 @@
</span><span class="cx">  * @package WordPress
</span><span class="cx">  * @subpackage List_Table
</span><span class="cx">  * @since 3.1.0
</span><ins>+ * @access private
</ins><span class="cx">  */
</span><span class="cx"> class WP_Themes_List_Table extends WP_List_Table {
</span><span class="cx"> 
</span><span class="lines">@@ -101,7 +102,7 @@
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         function display() {
</span><del>-                wp_nonce_field( &quot;fetch-list-&quot; . get_class( $this ), '_ajax_fetch_list_nonce' );
</del><ins>+                // wp_nonce_field( &quot;fetch-list-&quot; . get_class( $this ), '_ajax_fetch_list_nonce' );
</ins><span class="cx"> ?&gt;
</span><span class="cx">                 &lt;?php $this-&gt;tablenav( 'top' ); ?&gt; 
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpadminincludesclasswpuserslisttablephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/class-wp-users-list-table.php (17321 => 17322)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/class-wp-users-list-table.php        2011-01-16 21:34:38 UTC (rev 17321)
+++ trunk/wp-admin/includes/class-wp-users-list-table.php        2011-01-16 21:47:24 UTC (rev 17322)
</span><span class="lines">@@ -5,6 +5,7 @@
</span><span class="cx">  * @package WordPress
</span><span class="cx">  * @subpackage List_Table
</span><span class="cx">  * @since 3.1.0
</span><ins>+ * @access private
</ins><span class="cx">  */
</span><span class="cx"> class WP_Users_List_Table extends WP_List_Table {
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpadminincludeslisttablephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/list-table.php (17321 => 17322)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/list-table.php        2011-01-16 21:34:38 UTC (rev 17321)
+++ trunk/wp-admin/includes/list-table.php        2011-01-16 21:47:24 UTC (rev 17322)
</span><span class="lines">@@ -10,32 +10,13 @@
</span><span class="cx"> /**
</span><span class="cx">  * Fetch an instance of a WP_List_Table class.
</span><span class="cx">  *
</span><ins>+ * @access private
</ins><span class="cx">  * @since 3.1.0
</span><span class="cx">  *
</span><del>- * @param string $class The type of the list table, which is the class name except for core list tables.
</del><ins>+ * @param string $class The type of the list table, which is the class name.
</ins><span class="cx">  * @return object|bool Object on success, false if the class does not exist.
</span><span class="cx">  */
</span><del>-function get_list_table( $class ) {
-        $class = apply_filters( &quot;get_list_table_$class&quot;, $class );
-
-        require_list_table( $class );
-
-        if ( class_exists( $class ) )
-                return new $class;
-        return false;
-}
-
-/**
- * Include the proper file for a core list table.
- *
- * Useful for extending a core class that would not otherwise be required.
- *
- * @since 3.1.0
- *
- * @param string $table The core table to include.
- * @return bool True on success, false on failure.
- */
-function require_list_table( $class ) {
</del><ins>+function _get_list_table( $class ) {
</ins><span class="cx">         $core_classes = array(
</span><span class="cx">                 //Site Admin
</span><span class="cx">                 'WP_Posts_List_Table' =&gt; 'posts',
</span><span class="lines">@@ -57,7 +38,7 @@
</span><span class="cx"> 
</span><span class="cx">         if ( isset( $core_classes[ $class ] ) ) {
</span><span class="cx">                 require_once( ABSPATH . 'wp-admin/includes/class-wp-' . $core_classes[ $class ] . '-list-table.php' );
</span><del>-                return true;
</del><ins>+                return new $class;
</ins><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         return false;
</span></span></pre></div>
<a id="trunkwpadminincludesmetaboxesphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/meta-boxes.php (17321 => 17322)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/meta-boxes.php        2011-01-16 21:34:38 UTC (rev 17321)
+++ trunk/wp-admin/includes/meta-boxes.php        2011-01-16 21:47:24 UTC (rev 17322)
</span><span class="lines">@@ -484,7 +484,7 @@
</span><span class="cx"> 
</span><span class="cx">         wp_nonce_field( 'get-comments', 'add_comment_nonce', false );
</span><span class="cx"> 
</span><del>-        $wp_list_table = get_list_table('WP_Post_Comments_List_Table');
</del><ins>+        $wp_list_table = _get_list_table('WP_Post_Comments_List_Table');
</ins><span class="cx">         $wp_list_table-&gt;display( true );
</span><span class="cx"> ?&gt;
</span><span class="cx"> &lt;p class=&quot;hide-if-no-js&quot;&gt;&lt;a href=&quot;#commentstatusdiv&quot; id=&quot;show-comments&quot; onclick=&quot;commentsBox.get(&lt;?php echo $total; ?&gt;);return false;&quot;&gt;&lt;?php _e('Show comments'); ?&gt;&lt;/a&gt; &lt;img class=&quot;waiting&quot; style=&quot;display:none;&quot; src=&quot;&lt;?php echo esc_url( admin_url( 'images/wpspin_light.gif' ) ); ?&gt;&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
</span></span></pre></div>
<a id="trunkwpadminincludestemplatephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/template.php (17321 => 17322)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/template.php        2011-01-16 21:34:38 UTC (rev 17321)
+++ trunk/wp-admin/includes/template.php        2011-01-16 21:47:24 UTC (rev 17322)
</span><span class="lines">@@ -332,9 +332,9 @@
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         if ( $mode == 'single' ) {
</span><del>-                $wp_list_table = get_list_table('WP_Post_Comments_List_Table');
</del><ins>+                $wp_list_table = _get_list_table('WP_Post_Comments_List_Table');
</ins><span class="cx">         } else {
</span><del>-                $wp_list_table = get_list_table('WP_Comments_List_Table');
</del><ins>+                $wp_list_table = _get_list_table('WP_Comments_List_Table');
</ins><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx"> ?&gt;
</span></span></pre></div>
<a id="trunkwpadminincludesupdatephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/update.php (17321 => 17322)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/update.php        2011-01-16 21:34:38 UTC (rev 17321)
+++ trunk/wp-admin/includes/update.php        2011-01-16 21:47:24 UTC (rev 17322)
</span><span class="lines">@@ -194,7 +194,7 @@
</span><span class="cx"> 
</span><span class="cx">         $details_url = self_admin_url('plugin-install.php?tab=plugin-information&amp;plugin=' . $r-&gt;slug . '&amp;TB_iframe=true&amp;width=600&amp;height=800');
</span><span class="cx"> 
</span><del>-        $wp_list_table = get_list_table('WP_Plugins_List_Table');
</del><ins>+        $wp_list_table = _get_list_table('WP_Plugins_List_Table');
</ins><span class="cx"> 
</span><span class="cx">         if ( is_network_admin() || !is_multisite() ) {
</span><span class="cx">                 echo '&lt;tr class=&quot;plugin-update-tr&quot;&gt;&lt;td colspan=&quot;' . $wp_list_table-&gt;get_column_count() . '&quot; class=&quot;plugin-update colspanchange&quot;&gt;&lt;div class=&quot;update-message&quot;&gt;';
</span><span class="lines">@@ -270,7 +270,7 @@
</span><span class="cx"> 
</span><span class="cx">         $details_url = self_admin_url(&quot;theme-install.php?tab=theme-information&amp;theme=$theme_key&amp;TB_iframe=true&amp;width=600&amp;height=400&quot;);
</span><span class="cx"> 
</span><del>-        $wp_list_table = get_list_table('WP_MS_Themes_List_Table');
</del><ins>+        $wp_list_table = _get_list_table('WP_MS_Themes_List_Table');
</ins><span class="cx"> 
</span><span class="cx">         echo '&lt;tr class=&quot;plugin-update-tr&quot;&gt;&lt;td colspan=&quot;' . $wp_list_table-&gt;get_column_count() . '&quot; class=&quot;plugin-update colspanchange&quot;&gt;&lt;div class=&quot;update-message&quot;&gt;';
</span><span class="cx">         if ( ! current_user_can('update_themes') )
</span></span></pre></div>
<a id="trunkwpadminlinkmanagerphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/link-manager.php (17321 => 17322)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/link-manager.php        2011-01-16 21:34:38 UTC (rev 17321)
+++ trunk/wp-admin/link-manager.php        2011-01-16 21:47:24 UTC (rev 17322)
</span><span class="lines">@@ -11,7 +11,7 @@
</span><span class="cx"> if ( ! current_user_can( 'manage_links' ) )
</span><span class="cx">         wp_die( __( 'You do not have sufficient permissions to edit the links for this site.' ) );
</span><span class="cx"> 
</span><del>-$wp_list_table = get_list_table('WP_Links_List_Table');
</del><ins>+$wp_list_table = _get_list_table('WP_Links_List_Table');
</ins><span class="cx"> 
</span><span class="cx"> // Handle bulk deletes
</span><span class="cx"> $doaction = $wp_list_table-&gt;current_action();
</span></span></pre></div>
<a id="trunkwpadminnetworksitethemesphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/network/site-themes.php (17321 => 17322)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/network/site-themes.php        2011-01-16 21:34:38 UTC (rev 17321)
+++ trunk/wp-admin/network/site-themes.php        2011-01-16 21:47:24 UTC (rev 17322)
</span><span class="lines">@@ -32,7 +32,7 @@
</span><span class="cx">         '&lt;p&gt;' . __('&lt;a href=&quot;http://wordpress.org/support/forum/multisite/&quot; target=&quot;_blank&quot;&gt;Support Forums&lt;/a&gt;') . '&lt;/p&gt;'
</span><span class="cx"> );
</span><span class="cx"> 
</span><del>-$wp_list_table = get_list_table('WP_MS_Themes_List_Table');
</del><ins>+$wp_list_table = _get_list_table('WP_MS_Themes_List_Table');
</ins><span class="cx"> 
</span><span class="cx"> $action = $wp_list_table-&gt;current_action();
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkwpadminnetworksiteusersphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/network/site-users.php (17321 => 17322)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/network/site-users.php        2011-01-16 21:34:38 UTC (rev 17321)
+++ trunk/wp-admin/network/site-users.php        2011-01-16 21:47:24 UTC (rev 17322)
</span><span class="lines">@@ -16,7 +16,7 @@
</span><span class="cx"> if ( ! current_user_can('manage_sites') )
</span><span class="cx">         wp_die(__('You do not have sufficient permissions to edit this site.'));
</span><span class="cx"> 
</span><del>-$wp_list_table = get_list_table('WP_Users_List_Table');
</del><ins>+$wp_list_table = _get_list_table('WP_Users_List_Table');
</ins><span class="cx"> $wp_list_table-&gt;prepare_items();
</span><span class="cx"> 
</span><span class="cx"> $action = $wp_list_table-&gt;current_action();
</span></span></pre></div>
<a id="trunkwpadminnetworksitesphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/network/sites.php (17321 => 17322)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/network/sites.php        2011-01-16 21:34:38 UTC (rev 17321)
+++ trunk/wp-admin/network/sites.php        2011-01-16 21:47:24 UTC (rev 17322)
</span><span class="lines">@@ -16,7 +16,7 @@
</span><span class="cx"> if ( ! current_user_can( 'manage_sites' ) )
</span><span class="cx">         wp_die( __( 'You do not have permission to access this page.' ) );
</span><span class="cx"> 
</span><del>-$wp_list_table = get_list_table('WP_MS_Sites_List_Table');
</del><ins>+$wp_list_table = _get_list_table('WP_MS_Sites_List_Table');
</ins><span class="cx"> $pagenum = $wp_list_table-&gt;get_pagenum();
</span><span class="cx"> 
</span><span class="cx"> $title = __( 'Sites' );
</span></span></pre></div>
<a id="trunkwpadminnetworkthemesphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/network/themes.php (17321 => 17322)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/network/themes.php        2011-01-16 21:34:38 UTC (rev 17321)
+++ trunk/wp-admin/network/themes.php        2011-01-16 21:47:24 UTC (rev 17322)
</span><span class="lines">@@ -21,7 +21,7 @@
</span><span class="cx"> if ( !current_user_can('manage_network_themes') )
</span><span class="cx">         wp_die( __( 'You do not have sufficient permissions to manage network themes.' ) );
</span><span class="cx"> 
</span><del>-$wp_list_table = get_list_table('WP_MS_Themes_List_Table');
</del><ins>+$wp_list_table = _get_list_table('WP_MS_Themes_List_Table');
</ins><span class="cx"> $pagenum = $wp_list_table-&gt;get_pagenum();
</span><span class="cx"> 
</span><span class="cx"> $action = $wp_list_table-&gt;current_action();
</span></span></pre></div>
<a id="trunkwpadminnetworkusersphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/network/users.php (17321 => 17322)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/network/users.php        2011-01-16 21:34:38 UTC (rev 17321)
+++ trunk/wp-admin/network/users.php        2011-01-16 21:47:24 UTC (rev 17322)
</span><span class="lines">@@ -16,7 +16,7 @@
</span><span class="cx"> if ( ! current_user_can( 'manage_network_users' ) )
</span><span class="cx">         wp_die( __( 'You do not have permission to access this page.' ) );
</span><span class="cx"> 
</span><del>-$wp_list_table = get_list_table('WP_MS_Users_List_Table');
</del><ins>+$wp_list_table = _get_list_table('WP_MS_Users_List_Table');
</ins><span class="cx"> $wp_list_table-&gt;prepare_items();
</span><span class="cx"> 
</span><span class="cx"> $title = __( 'Users' );
</span></span></pre></div>
<a id="trunkwpadminplugininstallphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/plugin-install.php (17321 => 17322)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/plugin-install.php        2011-01-16 21:34:38 UTC (rev 17321)
+++ trunk/wp-admin/plugin-install.php        2011-01-16 21:47:24 UTC (rev 17322)
</span><span class="lines">@@ -20,7 +20,7 @@
</span><span class="cx">         exit();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-$wp_list_table = get_list_table('WP_Plugin_Install_List_Table');
</del><ins>+$wp_list_table = _get_list_table('WP_Plugin_Install_List_Table');
</ins><span class="cx"> $pagenum = $wp_list_table-&gt;get_pagenum();
</span><span class="cx"> $wp_list_table-&gt;prepare_items();
</span><span class="cx"> $total_pages = $wp_list_table-&gt;get_pagination_arg( 'total_pages' );
</span></span></pre></div>
<a id="trunkwpadminpluginsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/plugins.php (17321 => 17322)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/plugins.php        2011-01-16 21:34:38 UTC (rev 17321)
+++ trunk/wp-admin/plugins.php        2011-01-16 21:47:24 UTC (rev 17322)
</span><span class="lines">@@ -19,7 +19,7 @@
</span><span class="cx"> if ( !current_user_can('activate_plugins') )
</span><span class="cx">         wp_die( __( 'You do not have sufficient permissions to manage plugins for this site.' ) );
</span><span class="cx"> 
</span><del>-$wp_list_table = get_list_table('WP_Plugins_List_Table');
</del><ins>+$wp_list_table = _get_list_table('WP_Plugins_List_Table');
</ins><span class="cx"> $pagenum = $wp_list_table-&gt;get_pagenum();
</span><span class="cx"> 
</span><span class="cx"> $action = $wp_list_table-&gt;current_action();
</span></span></pre></div>
<a id="trunkwpadminthemeinstallphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/theme-install.php (17321 => 17322)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/theme-install.php        2011-01-16 21:34:38 UTC (rev 17321)
+++ trunk/wp-admin/theme-install.php        2011-01-16 21:47:24 UTC (rev 17322)
</span><span class="lines">@@ -20,7 +20,7 @@
</span><span class="cx">         exit();
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-$wp_list_table = get_list_table('WP_Theme_Install_List_Table');
</del><ins>+$wp_list_table = _get_list_table('WP_Theme_Install_List_Table');
</ins><span class="cx"> $pagenum = $wp_list_table-&gt;get_pagenum();
</span><span class="cx"> $wp_list_table-&gt;prepare_items();
</span><span class="cx"> $total_pages = $wp_list_table-&gt;get_pagination_arg( 'total_pages' );
</span></span></pre></div>
<a id="trunkwpadminthemesphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/themes.php (17321 => 17322)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/themes.php        2011-01-16 21:34:38 UTC (rev 17321)
+++ trunk/wp-admin/themes.php        2011-01-16 21:47:24 UTC (rev 17322)
</span><span class="lines">@@ -12,7 +12,7 @@
</span><span class="cx"> if ( !current_user_can('switch_themes') &amp;&amp; !current_user_can('edit_theme_options') )
</span><span class="cx">         wp_die( __( 'Cheatin&amp;#8217; uh?' ) );
</span><span class="cx"> 
</span><del>-$wp_list_table = get_list_table('WP_Themes_List_Table');
</del><ins>+$wp_list_table = _get_list_table('WP_Themes_List_Table');
</ins><span class="cx"> 
</span><span class="cx"> if ( current_user_can( 'switch_themes' ) &amp;&amp; isset($_GET['action'] ) ) {
</span><span class="cx">         if ( 'activate' == $_GET['action'] ) {
</span></span></pre></div>
<a id="trunkwpadminuploadphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/upload.php (17321 => 17322)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/upload.php        2011-01-16 21:34:38 UTC (rev 17321)
+++ trunk/wp-admin/upload.php        2011-01-16 21:47:24 UTC (rev 17322)
</span><span class="lines">@@ -12,7 +12,7 @@
</span><span class="cx"> if ( !current_user_can('upload_files') )
</span><span class="cx">         wp_die( __( 'You do not have permission to upload files.' ) );
</span><span class="cx"> 
</span><del>-$wp_list_table = get_list_table('WP_Media_List_Table');
</del><ins>+$wp_list_table = _get_list_table('WP_Media_List_Table');
</ins><span class="cx"> $pagenum = $wp_list_table-&gt;get_pagenum();
</span><span class="cx"> 
</span><span class="cx"> // Handle bulk actions
</span></span></pre></div>
<a id="trunkwpadminusersphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/users.php (17321 => 17322)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/users.php        2011-01-16 21:34:38 UTC (rev 17321)
+++ trunk/wp-admin/users.php        2011-01-16 21:47:24 UTC (rev 17322)
</span><span class="lines">@@ -12,7 +12,7 @@
</span><span class="cx"> if ( ! current_user_can( 'list_users' ) )
</span><span class="cx">         wp_die( __( 'Cheatin&amp;#8217; uh?' ) );
</span><span class="cx"> 
</span><del>-$wp_list_table = get_list_table('WP_Users_List_Table');
</del><ins>+$wp_list_table = _get_list_table('WP_Users_List_Table');
</ins><span class="cx"> 
</span><span class="cx"> $title = __('Users');
</span><span class="cx"> $parent_file = 'users.php';
</span></span></pre></div>
<a id="trunkwpincludesscriptloaderphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/script-loader.php (17321 => 17322)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/script-loader.php        2011-01-16 21:34:38 UTC (rev 17321)
+++ trunk/wp-includes/script-loader.php        2011-01-16 21:47:24 UTC (rev 17322)
</span><span class="lines">@@ -299,14 +299,6 @@
</span><span class="cx">                 $scripts-&gt;add( 'admin-custom-fields', &quot;/wp-admin/js/custom-fields$suffix.js&quot;, array('wp-lists'), '20090106' );
</span><span class="cx">                 $scripts-&gt;add_data( 'admin-custom-fields', 'group', 1 );
</span><span class="cx"> 
</span><del>-                $scripts-&gt;add( 'list-table', &quot;/wp-admin/js/list-table$suffix.js&quot;, array( 'jquery-query', 'jquery-serialize-object' ), '20110111a' );
-                $scripts-&gt;add_data( 'list-table', 'group', 1 );
-                $scripts-&gt;localize( 'list-table', 'listTableL10n', array(
-                        'error' =&gt; __('An error has occurred while loading the items.'),
-                        'search' =&gt; __('Search results for &amp;#8220;%s&amp;#8221;'),
-                        'l10n_print_after' =&gt; 'try{convertEntities(listTableL10n);}catch(e){};'
-                ) );
-
</del><span class="cx">                 $scripts-&gt;add( 'admin-comments', &quot;/wp-admin/js/edit-comments$suffix.js&quot;, array('wp-lists', 'list-table', 'jquery-ui-resizable', 'quicktags'), '20101223' );
</span><span class="cx">                 $scripts-&gt;add_data( 'admin-comments', 'group', 1 );
</span><span class="cx">                 $scripts-&gt;localize( 'admin-comments', 'adminCommentsL10n', array(
</span></span></pre>
</div>
</div>

</body>
</html>