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' );