Changeset 11478
- Timestamp:
- 05/28/2009 09:26:01 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r11450 r11478 636 636 function _tag_row( $tag, $class = '', $taxonomy = 'post_tag' ) { 637 637 $count = number_format_i18n( $tag->count ); 638 $count = ( $count > 0 ) ? "<a href='edit.php?tag=$tag->slug'>$count</a>" : $count; 638 $tagsel = ($taxonomy == 'post_tag' ? 'tag' : $taxonomy); 639 $count = ( $count > 0 ) ? "<a href='edit.php?$tagsel=$tag->slug'>$count</a>" : $count; 639 640 640 641 $name = apply_filters( 'term_name', $tag->name );
Note: See TracChangeset
for help on using the changeset viewer.