Changeset 6854
- Timestamp:
- 02/14/08 21:57:19 (9 months ago)
- Files:
-
- trunk/wp-admin/edit-post-rows.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
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 {
