Bring out the shears.

git-svn-id: http://svn.automattic.com/wordpress/trunk@17228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan
2011-01-06 04:11:14 +00:00
parent 8066547be3
commit 85f1feed84
26 changed files with 72 additions and 72 deletions

View File

@@ -71,7 +71,7 @@ class WP_Terms_List_Table extends WP_List_Table {
'per_page' => $tags_per_page,
) );
}
function has_items() {
// todo: populate $this->items in prepare_items()
return true;
@@ -139,7 +139,7 @@ class WP_Terms_List_Table extends WP_List_Table {
// convert it to table rows
$out = '';
$count = 0;
$terms = array();
if ( is_taxonomy_hierarchical( $taxonomy ) && !isset( $orderby ) ) {
@@ -160,7 +160,7 @@ class WP_Terms_List_Table extends WP_List_Table {
$out .= $this->single_row( $term, 0, $taxonomy );
$count = $number; // Only displaying a single page.
}
if ( empty( $terms ) ) {
echo '<tr class="no-items"><td colspan="2">';
$this->no_items();