diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index 3e67338f94..205dac1656 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -55,11 +55,12 @@ function _cat_row( $category, $level, $name_override = false ) { $output = " "; if ( absint(get_option( 'default_category' ) ) != $category->term_id ) { - $output .= ""; + $output .= ""; } else { $output .= " "; } - $output .= "$edit + $output .= " + $edit $category->description $posts_count\n\t\n"; @@ -86,11 +87,17 @@ function link_cat_row( $category ) { $category->count = number_format_i18n( $category->count ); $count = ( $category->count > 0 ) ? "$category->count" : $category->count; - $output = "" . - ' ' . - "$edit - $category->description - $count"; + $output = " + "; + if ( absint( get_option( 'default_link_category' ) ) != $category->term_id ) { + $output .= ""; + } else { + $output .= " "; + } + $output .= " + $edit + $category->description + $count"; return apply_filters( 'link_cat_row', $output ); }