Coding Standards: Remove unused variable in wp-trackback.php.

This was present in the initial import of b2 files, but appears to have never been used in WordPress core.

Follow-up to [3], [636], [637], [1616].

See #55647.

git-svn-id: https://develop.svn.wordpress.org/trunk@53720 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2022-07-19 14:15:35 +00:00
parent b49a83cb4c
commit 92ba1bb88e
-3
View File
@@ -42,9 +42,6 @@ function trackback_response( $error = 0, $error_message = '' ) {
}
}
// Trackback is done by a POST.
$request_array = 'HTTP_POST_VARS';
if ( ! isset( $_GET['tb_id'] ) || ! $_GET['tb_id'] ) {
$post_id = explode( '/', $_SERVER['REQUEST_URI'] );
$post_id = (int) $post_id[ count( $post_id ) - 1 ];