Skip to content

Commit

Permalink
Fix. Scan. Added check nonce 2.
Browse files Browse the repository at this point in the history
  • Loading branch information
svfcode committed Jul 1, 2024
1 parent fd73ddc commit 55c3715
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/spbc-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -3079,6 +3079,8 @@ function spbc_field_scanner()
*/
function spbc__analysyis_files_stats__get_html()
{
spbc_check_ajax_referer('spbc_secret_nonce', 'security');

$out = '
<div id="spbc_analysis_files_stats" style="display: block; padding-bottom: 5px">
<p>%s</p>
Expand Down Expand Up @@ -3119,8 +3121,6 @@ function spbc__analysyis_files_stats__get_html()
*/
function spbc__analysyis_files_stats__get_data()
{
spbc_check_ajax_referer('spbc_secret_nonce', 'security');

global $wpdb, $spbc;
$out = array(
'files_sent_count' => 'N/D',
Expand Down

0 comments on commit 55c3715

Please sign in to comment.