From 7622ef7ce52b8638da1ee7b8f176949e477388f5 Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 17 Mar 2008 23:51:34 +0000 Subject: [PATCH] Add title attribute to edit link category link. see #6082 git-svn-id: http://svn.automattic.com/wordpress/trunk@7365 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/template.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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'";