Changeset 3520
- Timestamp:
- 02/12/2006 08:22:42 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-functions.php
r3517 r3520 611 611 if ($category->category_parent == $parent) { 612 612 $category->cat_name = wp_specialchars($category->cat_name); 613 $count = $wpdb->get_var("SELECT COUNT(post_id) FROM $wpdb->post2cat WHERE category_id = $category->cat_ID");614 613 $pad = str_repeat('— ', $level); 615 614 if ( current_user_can('manage_categories') ) { … … 628 627 echo "<tr id='cat-$category->cat_ID' class='$class'><th scope='row'>$category->cat_ID</th><td>$pad $category->cat_name</td> 629 628 <td>$category->category_description</td> 630 <td>$c ount</td>629 <td>$category->category_count</td> 631 630 <td>$edit</td> 632 631 </tr>";
Note: See TracChangeset
for help on using the changeset viewer.