Add Slug column for link categories

git-svn-id: http://svn.automattic.com/wordpress/trunk@10024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-12-03 19:18:41 +00:00
parent c2ba81dbb1
commit 5517f4208d
1 changed files with 4 additions and 0 deletions

View File

@ -338,6 +338,9 @@ function link_cat_row( $category, $name_override = false ) {
case 'description':
$output .= "<td $attributes>$category->description</td>";
break;
case 'slug':
$output .= "<td $attributes>$category->slug</td>";
break;
case 'links':
$attributes = 'class="links column-links num"' . $style;
$output .= "<td $attributes>$count</td>";
@ -806,6 +809,7 @@ function get_column_headers($page) {
'cb' => '<input type="checkbox" />',
'name' => __('Name'),
'description' => __('Description'),
'slug' => __('Slug'),
'links' => __('Links')
);