Make WordPress Core


Ignore:
Timestamp:
04/28/2009 05:58:45 AM (16 years ago)
Author:
ryan
Message:

s/attribute_escape/attr/. see #9650

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/taxonomy.php

    r11068 r11109  
    992992            $value = format_to_edit($value);
    993993        else
    994             $value = attribute_escape($value);
     994            $value = attr($value);
    995995    } else if ( 'db' == $context ) {
    996996        $value = apply_filters("pre_term_$field", $value, $taxonomy);
     
    10101010
    10111011    if ( 'attribute' == $context )
    1012         $value = attribute_escape($value);
     1012        $value = attr($value);
    10131013    else if ( 'js' == $context )
    10141014        $value = js_escape($value);
     
    22612261
    22622262        foreach ( $terms as $term )
    2263             $links[] = "<a href='" . attribute_escape(get_term_link($term, $taxonomy)) . "'>$term->name</a>";
     2263            $links[] = "<a href='" . attr(get_term_link($term, $taxonomy)) . "'>$term->name</a>";
    22642264
    22652265        if ( $links )
Note: See TracChangeset for help on using the changeset viewer.