From a16994d25fa11cae34e7d1bef406abbadcda94d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20W=C3=BCnsch?= Date: Wed, 18 Mar 2026 13:39:59 +0100 Subject: [PATCH] Code Quality: Remove unused variable in `edit_term_link()` --- src/wp-includes/link-template.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/wp-includes/link-template.php b/src/wp-includes/link-template.php index 70a5b7ccffd04..54b78a028d745 100644 --- a/src/wp-includes/link-template.php +++ b/src/wp-includes/link-template.php @@ -1144,7 +1144,6 @@ function edit_term_link( $link = '', $before = '', $after = '', $term = null, $d return null; } - $tax = get_taxonomy( $term->taxonomy ); if ( ! current_user_can( 'edit_term', $term->term_id ) ) { return null; }