Changeset 16579
- Timestamp:
- 11/25/2010 01:39:34 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/class-wp-terms-list-table.php
r16578 r16579 276 276 277 277 $tax = get_taxonomy( $taxonomy ); 278 279 if ( ! $tax->public ) 280 return $count; 281 278 282 if ( $tax->query_var ) { 279 return "<a href='" . add_query_arg( array( $tax->query_var => $tag->slug, 'post_type' => $post_type ), 'edit.php' ) . "'>$count</a>"; 280 } 281 282 return $count; 283 $args = array( $tax->query_var => $tag->slug ); 284 } else { 285 $args = array( 'taxonomy' => $tax->name, 'term' => $tag->slug ); 286 } 287 288 $args['post_type'] = $post_type; 289 290 return "<a href='" . add_query_arg( $args, 'edit.php' ) . "'>$count</a>"; 283 291 } 284 292
Note: See TracChangeset
for help on using the changeset viewer.