fix: Standardize toggle switch behavior across plugin - Standardize the Access Manager toggle switches to match working implementations - Use the standard update_option AJAX handler for main toggles - Add new toggle settings to allowed options in Admin Manager - Ensure accordion panels stay open/closed and show saved settings correctly - Implement consistent notification display with proper placement - Synchronize role checkboxes with main toggle switches - Fix the Settings UI with improved styling and behavior
This commit is contained in:
@ -113,7 +113,9 @@ class WP_Allstars_Admin_Manager {
|
||||
'wp_allstars_max_height',
|
||||
'wp_allstars_exclude_urls',
|
||||
'wp_allstars_image_name_pattern',
|
||||
'wp_allstars_image_alt_pattern'
|
||||
'wp_allstars_image_alt_pattern',
|
||||
'wp_allstars_hide_admin_bar',
|
||||
'wp_allstars_restrict_dashboard'
|
||||
);
|
||||
|
||||
if (!in_array($option, $allowed_options)) {
|
||||
|
Reference in New Issue
Block a user