Ticket #25364: bookmark-template.diff
File bookmark-template.diff, 1.0 KB (added by , 8 years ago) |
---|
-
wp-includes/bookmark-template.php
228 228 if ( empty($bookmarks) ) 229 229 continue; 230 230 $output .= str_replace(array('%id', '%class'), array("linkcat-$cat->term_id", $class), $category_before); 231 /** 232 * Filter the bookmarks category name. 233 * 234 * @since 2.2.0 235 * 236 * @param string $cat->name The category name of bookmarks. 237 */ 231 238 $catname = apply_filters( "link_category", $cat->name ); 232 239 $output .= "$title_before$catname$title_after\n\t<ul class='xoxo blogroll'>\n"; 233 240 $output .= _walk_bookmarks($bookmarks, $r); … … 249 256 } 250 257 } 251 258 259 /** 260 * Filter the bookmarks. 261 * 262 * Filter the bookmarks before it is returned from function or printed to the screen. 263 * 264 * @since 2.5.0 265 * 266 * @param string $output The list of bookmarks. 267 */ 252 268 $output = apply_filters( 'wp_list_bookmarks', $output ); 253 269 254 270 if ( !$echo )