diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index bdbf17b004..0ffc73c100 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -181,6 +181,11 @@ function _cat_row( $category, $level, $name_override = false ) { case 'posts': $attributes = 'class="posts column-posts num"' . $style; $output .= "$posts_count\n"; + break; + default: + $output .= ""; + $output .= apply_filters('manage_categories_custom_column', $column_name, $category->term_id); + $output .= ""; } } $output .= ''; @@ -345,6 +350,11 @@ function link_cat_row( $category, $name_override = false ) { case 'links': $attributes = 'class="links column-links num"' . $style; $output .= "$count"; + break; + default: + $output .= ""; + $output .= apply_filters('manage_link_categories_custom_column', $column_name, $category->term_id); + $output .= ""; } } $output .= ''; @@ -633,6 +643,10 @@ function _tag_row( $tag, $class = '', $taxonomy = 'post_tag' ) { $attributes = 'class="posts column-posts num"' . $style; $out .= "$count"; break; + default: + $out .= ""; + $out .= apply_filters("manage_${taxonomy}_custom_column", $column_name, $tag->term_id); + $out .= ""; } } @@ -1879,6 +1893,11 @@ function user_row( $user_object, $style = '', $role = '' ) { $r .= 0; } $r .= ""; + break; + default: + $r .= ""; + $r .= apply_filters('manage_users_custom_column', $column_name, $user_object->ID); + $r .= ""; } } $r .= '';