mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
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:
@@ -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 ];
|
||||
|
||||
Reference in New Issue
Block a user