Revert "Refactor(Admin): Implement Settings API & AJAX save for Settings Manager"

This reverts commit f65d648a82.
This commit is contained in:
2025-04-19 13:15:29 +01:00
parent f65d648a82
commit a3bf7fc78f
26 changed files with 1594 additions and 2194 deletions
+3 -3
View File
@@ -98,8 +98,8 @@ class WP_Allstars_Theme_Manager {
private static function get_theme_scripts() {
return '
jQuery(document).ready(function($) {
if ($("#wpallstars-theme-list").length) {
var $container = $("#wpallstars-theme-list");
if ($("#wpa-theme-list").length) {
var $container = $("#wpa-theme-list");
var $loadingOverlay = $container.find(".wp-allstars-loading-overlay");
// AJAX request to get themes
@@ -139,7 +139,7 @@ class WP_Allstars_Theme_Manager {
public static function display_tab_content() {
?>
<div class="wp-allstars-settings-content tab-content" id="theme">
<div id="wpallstars-theme-list" class="wpallstars-theme-container">
<div id="wpa-theme-list" class="wpa-theme-container">
<!-- Theme content will be loaded via AJAX -->
<div class="wp-allstars-loading-overlay">
<span class="spinner is-active"></span>