mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 17:48:01 +01:00
Generate correct links for custom taxonomies. Props gortsleigh. fixes #9967
git-svn-id: http://svn.automattic.com/wordpress/trunk@11478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
00f547cbe0
commit
833fd18478
@ -635,7 +635,8 @@ function wp_link_category_checklist( $link_id = 0 ) {
|
||||
*/
|
||||
function _tag_row( $tag, $class = '', $taxonomy = 'post_tag' ) {
|
||||
$count = number_format_i18n( $tag->count );
|
||||
$count = ( $count > 0 ) ? "<a href='edit.php?tag=$tag->slug'>$count</a>" : $count;
|
||||
$tagsel = ($taxonomy == 'post_tag' ? 'tag' : $taxonomy);
|
||||
$count = ( $count > 0 ) ? "<a href='edit.php?$tagsel=$tag->slug'>$count</a>" : $count;
|
||||
|
||||
$name = apply_filters( 'term_name', $tag->name );
|
||||
$qe_data = get_term($tag->term_id, $taxonomy, object, 'edit');
|
||||
|
Loading…
Reference in New Issue
Block a user