Ticket #1207: 1207.diff
| File 1207.diff, 1.3 KB (added by , 19 years ago) |
|---|
-
wp-includes/classes.php
621 621 function start_el($output, $category, $depth, $args) { 622 622 extract($args); 623 623 624 $cat_name = wp_specialchars( $category->cat_name, 1 ); 624 625 $link = '<a href="' . get_category_link($category->cat_ID) . '" '; 625 626 if ( $use_desc_for_title == 0 || empty($category->category_description) ) 626 $link .= 'title="'. sprintf(__("View all posts filed under %s"), wp_specialchars($category->cat_name, 1)) . '"';627 $link .= 'title="'. sprintf(__("View all posts filed under %s"), $cat_name) . '"'; 627 628 else 628 629 $link .= 'title="' . wp_specialchars(apply_filters('category_description',$category->category_description,$category),1) . '"'; 629 630 $link .= '>'; … … 642 643 $alt = ' alt="' . $feed . '"'; 643 644 $name = $feed; 644 645 $link .= $title; 645 } 646 646 } else 647 $alt = ' alt="' . sprintf(__( 'Feed for all posts filed under %s' ), $cat_name ) . '"'; 648 647 649 $link .= '>'; 648 650 649 651 if ( !empty($feed_image) ) 650 $link .= "<img src='$feed_image' $alt$title" . ' />';652 $link .= "<img src='$feed_image'$alt$title" . ' />'; 651 653 else 652 654 $link .= $name; 653 655 $link .= '</a>';