mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-30 18:24:31 +00:00
Cleaner category count display
git-svn-id: https://develop.svn.wordpress.org/trunk@3728 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -664,10 +664,13 @@ function cat_rows($parent = 0, $level = 0, $categories = 0) {
|
||||
$edit = '';
|
||||
|
||||
$class = ('alternate' == $class) ? '' : 'alternate';
|
||||
|
||||
$category->category_count = number_format( $category->category_count );
|
||||
$category->link_count = number_format( $category->link_count );
|
||||
echo "<tr id='cat-$category->cat_ID' class='$class'><th scope='row'>$category->cat_ID</th><td>$pad $category->cat_name</td>
|
||||
<td>$category->category_description</td>
|
||||
<td>$category->category_count</td>
|
||||
<td>$category->link_count</td>
|
||||
<td align='center'>$category->category_count</td>
|
||||
<td align='center'>$category->link_count</td>
|
||||
<td>$edit</td>
|
||||
</tr>";
|
||||
cat_rows($category->cat_ID, $level +1, $categories);
|
||||
|
||||
Reference in New Issue
Block a user