Changeset 5523 for trunk/wp-admin/link-manager.php
- Timestamp:
- 05/23/2007 07:15:10 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/link-manager.php
r5435 r5523 160 160 $cat_names = array(); 161 161 foreach ($link->link_category as $category) { 162 $cat _name = get_the_category_by_ID($category);163 $cat_name = wp_specialchars(apply_filters('link_category', $cat _name));162 $cat = get_term($category, 'link_category'); 163 $cat_name = wp_specialchars(apply_filters('link_category', $cat->name)); 164 164 if ( $cat_id != $category ) 165 165 $cat_name = "<a href='link-manager.php?cat_id=$category'>$cat_name</a>";
Note: See TracChangeset
for help on using the changeset viewer.