From da5c27e983054f5c12fd122bc3a4ddfc72977e3c Mon Sep 17 00:00:00 2001 From: Joe Dolson Date: Wed, 6 Dec 2023 13:07:19 -0600 Subject: [PATCH] Remove another --- src/wp-accessibility-stats.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/wp-accessibility-stats.php b/src/wp-accessibility-stats.php index d13c064..3272034 100644 --- a/src/wp-accessibility-stats.php +++ b/src/wp-accessibility-stats.php @@ -224,8 +224,6 @@ function wpa_stats_action() { $response = wpa_add_stats( $stats, $title, $type, $post_id ); wp_send_json( $response ); - } else { - wp_send_json( array( 'no-request' => $_REQUEST ) ); } } add_action( 'wp_ajax_wpa_stats_action', 'wpa_stats_action' );