Tag descriptions, props aaroncampbell, fixes #9381

git-svn-id: https://develop.svn.wordpress.org/trunk@10903 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2009-04-09 16:00:40 +00:00
parent 5ac1f0112b
commit 10aaa00f62
5 changed files with 49 additions and 5 deletions

View File

@@ -668,6 +668,9 @@ function _tag_row( $tag, $class = '', $taxonomy = 'post_tag' ) {
$out .= '<div class="name">' . $qe_data->name . '</div>';
$out .= '<div class="slug">' . $qe_data->slug . '</div></div></td>';
break;
case 'description':
$out .= "<td $attributes>$tag->description</td>";
break;
case 'slug':
$out .= "<td $attributes>$tag->slug</td>";
break;
@@ -872,6 +875,7 @@ function get_column_headers($page) {
$_wp_column_headers[$page] = array(
'cb' => '<input type="checkbox" />',
'name' => __('Name'),
'description' => __('Description'),
'slug' => __('Slug'),
'posts' => __('Posts')
);