Changeset 3556
- Timestamp:
- 02/19/2006 11:24:21 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/wp-admin/admin-functions.php
r3554 r3556 589 589 if ($category->category_parent == $parent) { 590 590 $category->cat_name = wp_specialchars($category->cat_name); 591 $count = $wpdb->get_var("SELECT COUNT(post_id) FROM $wpdb->post2cat WHERE category_id = $category->cat_ID");592 591 $pad = str_repeat('— ', $level); 593 592 if ( current_user_can('manage_categories') ) { … … 606 605 echo "<tr id='cat-$category->cat_ID' class='$class'><th scope='row'>$category->cat_ID</th><td>$pad $category->cat_name</td> 607 606 <td>$category->category_description</td> 608 <td>$c ount</td>607 <td>$category->category_count</td> 609 608 <td>$edit</td> 610 609 </tr>";
Note: See TracChangeset
for help on using the changeset viewer.