Fix free plugins tab loading and settings toggle error

This commit is contained in:
Marcus Quinn
2025-03-24 19:59:15 +00:00
parent f7fb0c6545
commit 19e6455abb
2 changed files with 3 additions and 2 deletions

View File

@ -114,9 +114,9 @@ class WP_Allstars_Free_Plugins_Manager {
url: ajaxurl,
type: 'POST',
data: {
action: 'wp_allstars_load_plugins',
action: 'wp_allstars_get_plugins',
category: category,
nonce: '<?php echo wp_create_nonce('wp_allstars_load_plugins'); ?>'
nonce: '<?php echo wp_create_nonce('wp-allstars-nonce'); ?>'
},
success: function(response) {
if (response.success) {