<!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>[17002] trunk: Always display the table,
  with a placeholder row when there are no items.</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd><a href="http://trac.wordpress.org/changeset/17002">17002</a></dd>
<dt>Author</dt> <dd>scribu</dd>
<dt>Date</dt> <dd>2010-12-16 19:05:14 +0000 (Thu, 16 Dec 2010)</dd>
</dl>

<h3>Log Message</h3>
<pre>Always display the table, with a placeholder row when there are no items. Fixes <a href="http://trac.wordpress.org/ticket/15849">#15849</a></pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkwpadmincssglobalcss">trunk/wp-admin/css/global.css</a></li>
<li><a href="#trunkwpadmincssglobaldevcss">trunk/wp-admin/css/global.dev.css</a></li>
<li><a href="#trunkwpadminedittagsphp">trunk/wp-admin/edit-tags.php</a></li>
<li><a href="#trunkwpadminincludesclasswpcommentslisttablephp">trunk/wp-admin/includes/class-wp-comments-list-table.php</a></li>
<li><a href="#trunkwpadminincludesclasswplisttablephp">trunk/wp-admin/includes/class-wp-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="#trunkwpincludesscriptloaderphp">trunk/wp-includes/script-loader.php</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkwpadmincssglobalcss"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/css/global.css (17001 => 17002)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/css/global.css        2010-12-16 17:48:20 UTC (rev 17001)
+++ trunk/wp-admin/css/global.css        2010-12-16 19:05:14 UTC (rev 17002)
</span><span class="lines">@@ -1 +1 @@
</span><del>-html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;background:transparent;}body{line-height:1;}ol,ul{list-style:none;}blockquote,q{quotes:none;}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none;}ins{text-decoration:none;}del{text-decoration:line-through;}#wpwrap{height:auto;min-height:100%;width:100%;}#wpcontent{height:100%;padding-bottom:50px;}#wpbody{clear:both;margin-left:175px;}.folded #wpbody{margin-left:60px;}#wpbody-content{float:left;width:100%;}#adminmenu{float:left;clear:left;width:145px;margin-top:15px;margin-right:5px;margin-bottom:15px;margin-left:-160px;position:relative;padding:0;list-style:none;}.folded #adminmenu{margin-left:-45px;}.folded #adminmenu,.folded #adminmenu li.menu-top{width:28px;}#footer{clear:both;position:relative;width:100%;}.inner-sidebar{float:right;clear:right;display:none;width:281px;position:relative;}.inner-sidebar #side-sortables{width:280px;min-height:300px;}.has-right-sidebar .inner-sidebar{display:block;}.has-right-sidebar #post-body{float:left;clear:left;width:100%;margin-right:-340px;}.has-right-sidebar #post-body-content{margin-right:300px;}#col-container{overflow:hidden;padding:0;margin:0;}#col-left{padding:0;margin:0;overflow:hidden;width:39%;}#col-right{float:right;clear:right;overflow:hidden;padding:0;margin:0;width:59%;}.alignleft{float:left;}.alignright{float:right;}.textleft{text-align:left;}.textright{text-align:right;}.clear{clear:both;}.screen-reader-text,.screen-reader-text span{position:absolute;left:-1000em;height:1px;width:1px;overflow:hidden;}.hidden,.js .closed .inside,.js .hide-if-js,.no-js .hide-if-no-js{display:none;}input[type=&quot;text&quot;],input[type=&quot;password&quot;],textarea{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;}input[type=&quot;checkbox&quot;],input[type=&quot;radio&quot;]{vertical-align:middle;}html,body{height:100%;}body,td,textarea,input,select{font-family:Verdana,Arial,&quot;Bitstream Vera Sans&quot;,sans-serif;font-size:13px;}body,textarea{line-height:1.4em;}input,select{line-height:15px;}p{margin:1em 0;}blockquote{margin:1em;}label{cursor:pointer;}li,dd{margin-bottom:6px;}p,li,dl,dd,dt{line-height:140%;}textarea,input,select{margin:1px;padding:3px;}h1{display:block;font-size:2em;font-weight:bold;margin:.67em 0;}h2{display:block;font-size:1.5em;font-weight:bold;margin:.83em 0;}h3{display:block;font-size:1.17em;font-weight:bold;margin:1em 0;}h4{display:block;font-size:1em;font-weight:bold;margin:1.33em 0;}h5{display:block;font-size:.83em;font-weight:bold;margin:1.67em 0;}h6{display:block;font-size:.67em;font-weight:bold;margin:2.33em 0;}ul.ul-disc{list-style:disc outside;}ul.ul-square{list-style:square outside;}ol.ol-decimal{list-style:decimal outside;}ul.ul-disc,ul.ul-square,ol.ol-decimal{margin-left:1.8em;}ul.ul-disc&gt;li,ul.ul-square&gt;li,ol.ol-decimal&gt;li{margin:0 0 .5em;}.subsubsub{list-style:none;margin:8px 0 5px;padding:0;white-space:nowrap;font-size:11px;float:left;}.subsubsub a{line-height:2;padding:.2em;text-decoration:none;}.subsubsub a .count,.subsubsub a.current .count{color:#999;font-weight:normal;}.subsubsub a.current{font-weight:bold;background:none;border:none;}.subsubsub li{display:inline;margin:0;padding:0;}.widefat{border-width:1px;border-style:solid;border-spacing:0;width:100%;clear:both;margin:0;-moz-border-radius:4px;-khtml-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;}.widefat *{word-wrap:break-word;}.widefat a{text-decoration:none;}.widefat thead th:first-of-type{-moz-border-radius-topleft:3px;-khtml-border-top-left-radius:3px;-webkit-border-top-left-radius:3px;border-top-left-radius:3px;}.widefat thead th:last-of-type{-moz-border-radius-topright:3px;-khtml-border-top-right-radius:3px;-webkit-border-top-right-radius:3px;border-top-right-radius:3px;}.widefat tfoot th:first-of-type{-moz-border-radius-bottomleft:3px;-khtml-border-bottom-left-radius:3px;-webkit-border-bottom-left-radius:3px;border-bottom-left-radius:3px;}.widefat tfoot th:last-of-type{-moz-border-radius-bottomright:3px;-khtml-border-bottom-right-radius:3px;-webkit-border-bottom-right-radius:3px;border-bottom-right-radius:3px;}.widefat td,.widefat th{border-bottom-width:1px;border-bottom-style:solid;font-size:11px;}.widefat td{padding:3px 7px;vertical-align:top;}.widefat td p,.widefat td ol,.widefat td ul{font-size:11px;}.widefat th{padding:7px 7px 8px;text-align:left;line-height:1.3em;}.widefat th input{margin:0 0 0 8px;padding:0;vertical-align:text-top;}.widefat .check-column{width:2.2em;padding:0;}.widefat tbody th.check-column{padding:7px 0 22px;vertical-align:top;}.widefat .num,.column-comments,.column-links,.column-posts{text-align:center;}.widefat th#comments{vertical-align:middle;}.wrap{margin:0 15px 0 5px;}div.updated,div.error{border-width:1px;border-style:solid;padding:0 .6em;margin:5px 15px 2px;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;}div.updated p,div.error p{margin:.5em 0;padding:2px;}.wrap div.updated,.wrap div.error{margin:5px 0 15px;}.wrap h2{font:italic normal normal 24px/29px Georgia,&quot;Times New Roman&quot;,&quot;Bitstream Charter&quot;,Times,serif;margin:0;padding:14px 15px 3px 0;line-height:35px;text-shadow:rgba(255,255,255,1) 0 1px 0;}.wrap h2.long-header{padding-right:0;}
</del><span class="cx">\ No newline at end of file
</span><ins>+html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;background:transparent;}body{line-height:1;}ol,ul{list-style:none;}blockquote,q{quotes:none;}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none;}ins{text-decoration:none;}del{text-decoration:line-through;}#wpwrap{height:auto;min-height:100%;width:100%;}#wpcontent{height:100%;padding-bottom:50px;}#wpbody{clear:both;margin-left:175px;}.folded #wpbody{margin-left:60px;}#wpbody-content{float:left;width:100%;}#adminmenu{float:left;clear:left;width:145px;margin-top:15px;margin-right:5px;margin-bottom:15px;margin-left:-160px;position:relative;padding:0;list-style:none;}.folded #adminmenu{margin-left:-45px;}.folded #adminmenu,.folded #adminmenu li.menu-top{width:28px;}#footer{clear:both;position:relative;width:100%;}.inner-sidebar{float:right;clear:right;display:none;width:281px;position:relative;}.inner-sidebar #side-sortables{width:280px;min-height:300px;}.has-right-sidebar .inner-sidebar{display:block;}.has-right-sidebar #post-body{float:left;clear:left;width:100%;margin-right:-340px;}.has-right-sidebar #post-body-content{margin-right:300px;}#col-container{overflow:hidden;padding:0;margin:0;}#col-left{padding:0;margin:0;overflow:hidden;width:39%;}#col-right{float:right;clear:right;overflow:hidden;padding:0;margin:0;width:59%;}.alignleft{float:left;}.alignright{float:right;}.textleft{text-align:left;}.textright{text-align:right;}.clear{clear:both;}.screen-reader-text,.screen-reader-text span{position:absolute;left:-1000em;height:1px;width:1px;overflow:hidden;}.hidden,.js .closed .inside,.js .hide-if-js,.no-js .hide-if-no-js{display:none;}input[type=&quot;text&quot;],input[type=&quot;password&quot;],textarea{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;}input[type=&quot;checkbox&quot;],input[type=&quot;radio&quot;]{vertical-align:middle;}html,body{height:100%;}body,td,textarea,input,select{font-family:Verdana,Arial,&quot;Bitstream Vera Sans&quot;,sans-serif;font-size:13px;}body,textarea{line-height:1.4em;}input,select{line-height:15px;}p{margin:1em 0;}blockquote{margin:1em;}label{cursor:pointer;}li,dd{margin-bottom:6px;}p,li,dl,dd,dt{line-height:140%;}textarea,input,select{margin:1px;padding:3px;}h1{display:block;font-size:2em;font-weight:bold;margin:.67em 0;}h2{display:block;font-size:1.5em;font-weight:bold;margin:.83em 0;}h3{display:block;font-size:1.17em;font-weight:bold;margin:1em 0;}h4{display:block;font-size:1em;font-weight:bold;margin:1.33em 0;}h5{display:block;font-size:.83em;font-weight:bold;margin:1.67em 0;}h6{display:block;font-size:.67em;font-weight:bold;margin:2.33em 0;}ul.ul-disc{list-style:disc outside;}ul.ul-square{list-style:square outside;}ol.ol-decimal{list-style:decimal outside;}ul.ul-disc,ul.ul-square,ol.ol-decimal{margin-left:1.8em;}ul.ul-disc&gt;li,ul.ul-square&gt;li,ol.ol-decimal&gt;li{margin:0 0 .5em;}.subsubsub{list-style:none;margin:8px 0 5px;padding:0;white-space:nowrap;font-size:11px;float:left;}.subsubsub a{line-height:2;padding:.2em;text-decoration:none;}.subsubsub a .count,.subsubsub a.current .count{color:#999;font-weight:normal;}.subsubsub a.current{font-weight:bold;background:none;border:none;}.subsubsub li{display:inline;margin:0;padding:0;}.widefat{border-width:1px;border-style:solid;border-spacing:0;width:100%;clear:both;margin:0;-moz-border-radius:4px;-khtml-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;}.widefat *{word-wrap:break-word;}.widefat a{text-decoration:none;}.widefat thead th:first-of-type{-moz-border-radius-topleft:3px;-khtml-border-top-left-radius:3px;-webkit-border-top-left-radius:3px;border-top-left-radius:3px;}.widefat thead th:last-of-type{-moz-border-radius-topright:3px;-khtml-border-top-right-radius:3px;-webkit-border-top-right-radius:3px;border-top-right-radius:3px;}.widefat tfoot th:first-of-type{-moz-border-radius-bottomleft:3px;-khtml-border-bottom-left-radius:3px;-webkit-border-bottom-left-radius:3px;border-bottom-left-radius:3px;}.widefat tfoot th:last-of-type{-moz-border-radius-bottomright:3px;-khtml-border-bottom-right-radius:3px;-webkit-border-bottom-right-radius:3px;border-bottom-right-radius:3px;}.widefat td,.widefat th{border-bottom-width:1px;border-bottom-style:solid;font-size:11px;}.widefat .no-items td{border-bottom-width:0;}.widefat td{padding:3px 7px;vertical-align:top;}.widefat td p,.widefat td ol,.widefat td ul{font-size:11px;}.widefat th{padding:7px 7px 8px;text-align:left;line-height:1.3em;}.widefat th input{margin:0 0 0 8px;padding:0;vertical-align:text-top;}.widefat .check-column{width:2.2em;padding:0;}.widefat tbody th.check-column{padding:7px 0 22px;vertical-align:top;}.widefat .num,.column-comments,.column-links,.column-posts{text-align:center;}.widefat th#comments{vertical-align:middle;}.wrap{margin:0 15px 0 5px;}div.updated,div.error{border-width:1px;border-style:solid;padding:0 .6em;margin:5px 15px 2px;-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;}div.updated p,div.error p{margin:.5em 0;padding:2px;}.wrap div.updated,.wrap div.error{margin:5px 0 15px;}.wrap h2{font:italic normal normal 24px/29px Georgia,&quot;Times New Roman&quot;,&quot;Bitstream Charter&quot;,Times,serif;margin:0;padding:14px 15px 3px 0;line-height:35px;text-shadow:rgba(255,255,255,1) 0 1px 0;}.wrap h2.long-header{padding-right:0;}
</ins><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkwpadmincssglobaldevcss"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/css/global.dev.css (17001 => 17002)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/css/global.dev.css        2010-12-16 17:48:20 UTC (rev 17001)
+++ trunk/wp-admin/css/global.dev.css        2010-12-16 19:05:14 UTC (rev 17002)
</span><span class="lines">@@ -425,6 +425,10 @@
</span><span class="cx">         font-size: 11px;
</span><span class="cx"> }
</span><span class="cx"> 
</span><ins>+.widefat .no-items td {
+        border-bottom-width: 0;
+}
+
</ins><span class="cx"> .widefat td {
</span><span class="cx">         padding: 3px 7px;
</span><span class="cx">         vertical-align: top;
</span></span></pre></div>
<a id="trunkwpadminedittagsphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/edit-tags.php (17001 => 17002)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/edit-tags.php        2010-12-16 17:48:20 UTC (rev 17001)
+++ trunk/wp-admin/edit-tags.php        2010-12-16 19:05:14 UTC (rev 17002)
</span><span class="lines">@@ -253,7 +253,7 @@
</span><span class="cx"> &lt;input type=&quot;hidden&quot; name=&quot;taxonomy&quot; value=&quot;&lt;?php echo esc_attr($taxonomy); ?&gt;&quot; /&gt;
</span><span class="cx"> &lt;input type=&quot;hidden&quot; name=&quot;post_type&quot; value=&quot;&lt;?php echo esc_attr($post_type); ?&gt;&quot; /&gt;
</span><span class="cx"> 
</span><del>-&lt;?php $wp_list_table-&gt;display_table(); ?&gt;
</del><ins>+&lt;?php $wp_list_table-&gt;display(); ?&gt;
</ins><span class="cx"> 
</span><span class="cx"> &lt;br class=&quot;clear&quot; /&gt;
</span><span class="cx"> &lt;/form&gt;
</span></span></pre></div>
<a id="trunkwpadminincludesclasswpcommentslisttablephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/class-wp-comments-list-table.php (17001 => 17002)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/class-wp-comments-list-table.php        2010-12-16 17:48:20 UTC (rev 17001)
+++ trunk/wp-admin/includes/class-wp-comments-list-table.php        2010-12-16 19:05:14 UTC (rev 17002)
</span><span class="lines">@@ -253,7 +253,7 @@
</span><span class="cx">                 );
</span><span class="cx">         }
</span><span class="cx"> 
</span><del>-        function display_table() {
</del><ins>+        function display() {
</ins><span class="cx">                 extract( $this-&gt;_args );
</span><span class="cx"> 
</span><span class="cx">                 $this-&gt;display_tablenav( 'top' );
</span></span></pre></div>
<a id="trunkwpadminincludesclasswplisttablephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/class-wp-list-table.php (17001 => 17002)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/class-wp-list-table.php        2010-12-16 17:48:20 UTC (rev 17001)
+++ trunk/wp-admin/includes/class-wp-list-table.php        2010-12-16 19:05:14 UTC (rev 17002)
</span><span class="lines">@@ -647,41 +647,12 @@
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         /**
</span><del>-         * Display the table or a message if there are no items
</del><ins>+         * Display the table
</ins><span class="cx">          *
</span><span class="cx">          * @since 3.1.0
</span><span class="cx">          * @access public
</span><span class="cx">          */
</span><span class="cx">         function display() {
</span><del>-                if ( $this-&gt;has_items() ) {
-                        $this-&gt;display_table();
-                } else {
-?&gt;
-                &lt;br class=&quot;clear&quot; /&gt;
-                &lt;p&gt;&lt;?php $this-&gt;no_items(); ?&gt;&lt;/p&gt;
-&lt;?php
-                }
-        }
-
-        /**
-         * Get a list of CSS classes for the &lt;table&gt; tag
-         *
-         * @since 3.1.0
-         * @access protected
-         *
-         * @return array
-         */
-        function get_table_classes() {
-                return array( 'widefat', 'fixed', $this-&gt;_args['plural'] );
-        }
-
-        /**
-         * Display the full table
-         *
-         * @since 3.1.0
-         * @access public
-         */
-        function display_table() {
</del><span class="cx">                 extract( $this-&gt;_args );
</span><span class="cx"> 
</span><span class="cx">                 $this-&gt;display_tablenav( 'top' );
</span><span class="lines">@@ -701,15 +672,26 @@
</span><span class="cx">         &lt;/tfoot&gt;
</span><span class="cx"> 
</span><span class="cx">         &lt;tbody id=&quot;the-list&quot;&lt;?php if ( $singular ) echo &quot; class='list:$singular'&quot;; ?&gt;&gt;
</span><del>-                &lt;?php $this-&gt;display_rows(); ?&gt;
</del><ins>+                &lt;?php $this-&gt;display_rows_or_placeholder(); ?&gt;
</ins><span class="cx">         &lt;/tbody&gt;
</span><span class="cx"> &lt;/table&gt;
</span><span class="cx"> &lt;?php
</span><del>-
</del><span class="cx">                 $this-&gt;display_tablenav( 'bottom' );
</span><span class="cx">         }
</span><span class="cx"> 
</span><span class="cx">         /**
</span><ins>+         * Get a list of CSS classes for the &lt;table&gt; tag
+         *
+         * @since 3.1.0
+         * @access protected
+         *
+         * @return array
+         */
+        function get_table_classes() {
+                return array( 'widefat', 'fixed', $this-&gt;_args['plural'] );
+        }
+
+        /**
</ins><span class="cx">          * Generate the table navigation above or below the table
</span><span class="cx">          *
</span><span class="cx">          * @since 3.1.0
</span><span class="lines">@@ -749,6 +731,22 @@
</span><span class="cx">          * @since 3.1.0
</span><span class="cx">          * @access protected
</span><span class="cx">          */
</span><ins>+        function display_rows_or_placeholder() {
+                if ( $this-&gt;has_items() ) {
+                        $this-&gt;display_rows();
+                } else {
+                        echo '&lt;tr class=&quot;no-items&quot;&gt;&lt;td colspan=&quot;2&quot;&gt;';
+                        $this-&gt;no_items();
+                        echo '&lt;/td&gt;&lt;/tr&gt;';
+                }
+        }
+
+        /**
+         * Generate the table rows
+         *
+         * @since 3.1.0
+         * @access protected
+         */
</ins><span class="cx">         function display_rows() {
</span><span class="cx">                 foreach ( $this-&gt;items as $item )
</span><span class="cx">                         $this-&gt;single_row( $item );
</span><span class="lines">@@ -822,7 +820,7 @@
</span><span class="cx">                 extract( $this-&gt;_pagination_args );
</span><span class="cx"> 
</span><span class="cx">                 ob_start();
</span><del>-                $this-&gt;display_rows();
</del><ins>+                $this-&gt;display_rows_or_placeholder();
</ins><span class="cx">                 $rows = ob_get_clean();
</span><span class="cx"> 
</span><span class="cx">                 $response = array( 'rows' =&gt; $rows );
</span></span></pre></div>
<a id="trunkwpadminincludesclasswpthemeinstalllisttablephp"></a>
<div class="modfile"><h4>Modified: trunk/wp-admin/includes/class-wp-theme-install-list-table.php (17001 => 17002)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/class-wp-theme-install-list-table.php        2010-12-16 17:48:20 UTC (rev 17001)
+++ trunk/wp-admin/includes/class-wp-theme-install-list-table.php        2010-12-16 19:05:14 UTC (rev 17002)
</span><span class="lines">@@ -125,7 +125,7 @@
</span><span class="cx">                 return array();
</span><span class="cx">         }
</span><span class="cx"> 
</span><del>-        function display_table() {
</del><ins>+        function display() {
</ins><span class="cx"> ?&gt;
</span><span class="cx">                 &lt;div class=&quot;tablenav&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 (17001 => 17002)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-admin/includes/class-wp-themes-list-table.php        2010-12-16 17:48:20 UTC (rev 17001)
+++ trunk/wp-admin/includes/class-wp-themes-list-table.php        2010-12-16 19:05:14 UTC (rev 17002)
</span><span class="lines">@@ -83,7 +83,7 @@
</span><span class="cx">                 printf( __( 'Only the current theme is available to you. Contact the %s administrator for information about accessing additional themes.' ), get_site_option( 'site_name' ) );
</span><span class="cx">         }
</span><span class="cx"> 
</span><del>-        function display_table() {
</del><ins>+        function display() {
</ins><span class="cx"> ?&gt;
</span><span class="cx">                 &lt;div class=&quot;tablenav&quot;&gt;
</span><span class="cx">                         &lt;?php $this-&gt;pagination( 'top' ); ?&gt;
</span></span></pre></div>
<a id="trunkwpincludesscriptloaderphp"></a>
<div class="modfile"><h4>Modified: trunk/wp-includes/script-loader.php (17001 => 17002)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/wp-includes/script-loader.php        2010-12-16 17:48:20 UTC (rev 17001)
+++ trunk/wp-includes/script-loader.php        2010-12-16 19:05:14 UTC (rev 17002)
</span><span class="lines">@@ -501,7 +501,7 @@
</span><span class="cx">         $styles-&gt;add( 'colors-classic', &quot;/wp-admin/css/colors-classic$suffix.css&quot;, array(), $colors_version );
</span><span class="cx"> 
</span><span class="cx">         $styles-&gt;add( 'ms', &quot;/wp-admin/css/ms$suffix.css&quot;, array(), '20101213' );
</span><del>-        $styles-&gt;add( 'global', &quot;/wp-admin/css/global$suffix.css&quot;, array(), '20101105' );
</del><ins>+        $styles-&gt;add( 'global', &quot;/wp-admin/css/global$suffix.css&quot;, array(), '20101216' );
</ins><span class="cx">         $styles-&gt;add( 'media', &quot;/wp-admin/css/media$suffix.css&quot;, array(), '20101020' );
</span><span class="cx">         $styles-&gt;add( 'widgets', &quot;/wp-admin/css/widgets$suffix.css&quot;, array(), '20100610' );
</span><span class="cx">         $styles-&gt;add( 'dashboard', &quot;/wp-admin/css/dashboard$suffix.css&quot;, array(), '20101215' );
</span></span></pre>
</div>
</div>

</body>
</html>