Ticket #9753: t9753-strip-tags-cat-desc-title-attribute.diff
| File t9753-strip-tags-cat-desc-title-attribute.diff, 682 bytes (added by , 17 years ago) |
|---|
-
wp-includes/classes.php
1331 1331 if ( $use_desc_for_title == 0 || empty($category->description) ) 1332 1332 $link .= 'title="' . sprintf(__( 'View all posts filed under %s' ), $cat_name) . '"'; 1333 1333 else 1334 $link .= 'title="' . esc_attr( apply_filters( 'category_description', $category->description, $category )) . '"';1334 $link .= 'title="' . esc_attr( strip_tags( apply_filters( 'category_description', $category->description, $category ) ) ) . '"'; 1335 1335 $link .= '>'; 1336 1336 $link .= $cat_name . '</a>'; 1337 1337
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)