Skip to content

Commit 8062e5a

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. Built from https://develop.svn.wordpress.org/trunk@62045 git-svn-id: http://core.svn.wordpress.org/trunk@61327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
1 parent 277fffb commit 8062e5a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

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
}

wp-includes/version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
* @global string $wp_version
1818
*/
19-
$wp_version = '7.0-beta5-62044';
19+
$wp_version = '7.0-beta5-62045';
2020

2121
/**
2222
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

0 commit comments

Comments
 (0)