Skip to content

Commit 23df713

Browse files
committed
Coding Standards: Remove unused $tax variable in edit_term_link().
This changeset removes an unused variable assignment in `edit_term_link()`. Props soean, mukesh27. Fixes #64881. git-svn-id: https://develop.svn.wordpress.org/trunk@62045 602fd350-edb4-49c9-b593-d223f7449a82
1 parent d673955 commit 23df713

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/wp-includes/link-template.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1144,7 +1144,6 @@ function edit_term_link( $link = '', $before = '', $after = '', $term = null, $d
11441144
return null;
11451145
}
11461146

1147-
$tax = get_taxonomy( $term->taxonomy );
11481147
if ( ! current_user_can( 'edit_term', $term->term_id ) ) {
11491148
return null;
11501149
}

0 commit comments

Comments
 (0)