Add Slug column for link categories
git-svn-id: https://develop.svn.wordpress.org/trunk@10024 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
e4396a891e
commit
0d75a8896b
@ -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')
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user