diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php
index e056d5c76f..1aba1372c1 100644
--- a/wp-admin/includes/template.php
+++ b/wp-admin/includes/template.php
@@ -74,11 +74,12 @@ function link_cat_row( $category ) {
if ( is_wp_error( $category ) )
return $category;
+ $name = ( $name_override ? $name_override : $category->name );
if ( current_user_can( 'manage_categories' ) ) {
- $edit = "". ( $name_override ? $name_override : $category->name ) ."";
+ $edit = "name)) . "' class='edit'>$name";
$default_cat_id = (int) get_option( 'default_link_category' );
} else {
- $edit = ( $name_override ? $name_override : $category->name );
+ $edit = $name;
}
$class = " class='alternate'" == $class ? '' : " class='alternate'";