Fix theme activation functionality and CSS conflicts with WordPress core

This commit is contained in:
Marcus Quinn
2025-03-17 00:45:15 +00:00
parent fbfcc7e13f
commit d50dfd344c
3 changed files with 52 additions and 46 deletions

View File

@ -334,7 +334,7 @@ jQuery(document).ready(function($) {
data: {
action: 'wp_allstars_activate_theme',
theme: slug,
_wpnonce: wpAllstars.nonce
_wpnonce: $button.data('nonce') || wpAllstars.nonce
},
success: function(response) {
if (response.success) {