From 3f9a04e5f91f2b4f7f5a1767ac429abe1c333583 Mon Sep 17 00:00:00 2001 From: matt Date: Wed, 19 Apr 2006 07:10:48 +0000 Subject: [PATCH] Make categories clickable, just like on the posts screen git-svn-id: http://svn.automattic.com/wordpress/trunk@3718 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/link-manager.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/wp-admin/link-manager.php b/wp-admin/link-manager.php index 801b584c14..a30c82ce06 100644 --- a/wp-admin/link-manager.php +++ b/wp-admin/link-manager.php @@ -162,7 +162,10 @@ if ($links) $cat_names = array(); foreach ($link->link_category as $category) { $cat_name = get_the_category_by_ID($category); - $cat_names[] = wp_specialchars($cat_name); + $cat_name = wp_specialchars($cat_name); + if ( $cat_id != $category ) + $cat_name = "$cat_name"; + $cat_names[] = $cat_name; } echo implode(', ', $cat_names); ?> @@ -182,7 +185,7 @@ if ($links)
-

')" />

+

')" />