Fix security token verification in Free Plugins tab

This commit is contained in:
Marcus Quinn
2025-03-24 20:28:33 +00:00
parent ccc57dc72b
commit 83d7debe54

View File

@ -115,7 +115,7 @@ class WP_Allstars_Free_Plugins_Manager {
data: { data: {
action: 'wp_allstars_get_plugins', action: 'wp_allstars_get_plugins',
category: category, category: category,
nonce: '<?php echo wp_create_nonce('wp-allstars-nonce'); ?>' _wpnonce: '<?php echo wp_create_nonce('wp-allstars-nonce'); ?>'
}, },
success: function(response) { success: function(response) {
$loadingOverlay.remove(); $loadingOverlay.remove();