Changeset 6854
- Timestamp:
- 02/14/2008 09:57:19 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-post-rows.php
r6796 r6854 75 75 $out = array(); 76 76 foreach ( $categories as $c ) 77 $out[] = "<a href='edit.php?category_name=$c->slug'> " . wp_specialchars( $c->name) . "</a>";77 $out[] = "<a href='edit.php?category_name=$c->slug'> " . wp_specialchars(sanitize_term_field('name', $c->name, $c->term_id, 'category', 'display')) . "</a>"; 78 78 echo join( ', ', $out ); 79 79 } else { … … 91 91 $out = array(); 92 92 foreach ( $tags as $c ) 93 $out[] = "<a href='edit.php?tag=$c->slug'> " . wp_specialchars( $c->name) . "</a>";93 $out[] = "<a href='edit.php?tag=$c->slug'> " . wp_specialchars(sanitize_term_field('name', $c->name, $c->term_id, 'post_tag', 'display')) . "</a>"; 94 94 echo join( ', ', $out ); 95 95 } else {
Note: See TracChangeset
for help on using the changeset viewer.