Ticket #3595: bookmark-template-php-2.diff
| File bookmark-template-php-2.diff, 1.2 KB (added by , 19 years ago) |
|---|
-
E:/EclipseWork/WordPressDev/wp-includes/bookmark-template.php
266 266 if ( '' != $rel ) 267 267 $rel = ' rel="' . $rel . '"'; 268 268 269 $desc = attribute_escape( $bookmark->link_description);270 $name = attribute_escape($bookmark->link_name); 271 $title = $desc;269 $desc = attribute_escape(apply_filters('link_description', $bookmark->link_description)); 270 $name = attribute_escape(apply_filters('link_title', $bookmark->link_name)); 271 $title = $desc; 272 272 273 273 if ( $show_updated ) 274 274 if ( '00' != substr($bookmark->link_updated_f, 0, 2) ) { … … 336 336 if ( empty($bookmarks) ) 337 337 continue; 338 338 $output .= str_replace(array('%id', '%class'), array("linkcat-$cat->cat_ID", $class), $category_before); 339 $output .= "$title_before$cat->cat_name$title_after\n\t<ul>\n"; 339 $catname = apply_filters( "link_category", $cat->cat_name ); 340 $output .= "$title_before$catname$title_after\n\t<ul>\n"; 340 341 $output .= _walk_bookmarks($bookmarks, $r); 341 342 $output .= "\n\t</ul>\n$category_after\n"; 342 343 }