Changeset 11109 for trunk/wp-includes/taxonomy.php
- Timestamp:
- 04/28/2009 05:58:45 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/taxonomy.php
r11068 r11109 992 992 $value = format_to_edit($value); 993 993 else 994 $value = attr ibute_escape($value);994 $value = attr($value); 995 995 } else if ( 'db' == $context ) { 996 996 $value = apply_filters("pre_term_$field", $value, $taxonomy); … … 1010 1010 1011 1011 if ( 'attribute' == $context ) 1012 $value = attr ibute_escape($value);1012 $value = attr($value); 1013 1013 else if ( 'js' == $context ) 1014 1014 $value = js_escape($value); … … 2261 2261 2262 2262 foreach ( $terms as $term ) 2263 $links[] = "<a href='" . attr ibute_escape(get_term_link($term, $taxonomy)) . "'>$term->name</a>";2263 $links[] = "<a href='" . attr(get_term_link($term, $taxonomy)) . "'>$term->name</a>"; 2264 2264 2265 2265 if ( $links )
Note: See TracChangeset
for help on using the changeset viewer.