Make WordPress Core


Ignore:
Timestamp:
05/05/2009 07:43:53 PM (15 years ago)
Author:
markjaquith
Message:

_a(), _ea(), _xa(), attr() are now esc_attr(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/category-template.php

    r11158 r11204  
    663663        $tag_id = isset($tags[ $key ]->id) ? $tags[ $key ]->id : $key;
    664664        $tag_name = $tags[ $key ]->name;
    665         $a[] = "<a href='$tag_link' class='tag-link-$tag_id' title='" . attr( $topic_count_text_callback( $count ) ) . "'$rel style='font-size: " .
     665        $a[] = "<a href='$tag_link' class='tag-link-$tag_id' title='" . esc_attr( $topic_count_text_callback( $count ) ) . "'$rel style='font-size: " .
    666666            ( $smallest + ( ( $count - $min_count ) * $font_step ) )
    667667            . "$unit;'>$tag_name</a>";
Note: See TracChangeset for help on using the changeset viewer.