← All changes
|
includes/widgets/Login_Register_Form/Security_Dashboard.php
+3
-2
51.1.44
→
51.1.86
View file →
| @@ -59,9 +59,9 @@ | ||
| 59 | 59 | } |
| 60 | 60 | } |
| 61 | 61 | |
| 62 | 62 | /** |
| 63 | - * Render the security dashboard - V3 Apple-inspired Design | |
| 63 | + * Render the security dashboard - V3 Premium style inspired Design | |
| 64 | 64 | */ |
| 65 | 65 | public static function render_dashboard() |
| 66 | 66 | { |
| 67 | 67 | // Get security statistics |
| @@ -72,9 +72,9 @@ | ||
| 72 | 72 | // Theme mode is per-user |
| 73 | 73 | $theme_mode = get_user_meta(get_current_user_id(), 'king_addons_theme_mode', true); |
| 74 | 74 | $allowed_theme_modes = ['dark', 'light', 'auto']; |
| 75 | 75 | if (!in_array($theme_mode, $allowed_theme_modes, true)) { |
| 76 | - $theme_mode = 'dark'; | |
| 76 | + $theme_mode = 'auto'; | |
| 77 | 77 | } |
| 78 | 78 | |
| 79 | 79 | // Enqueue shared V3 styles |
| 80 | 80 | wp_enqueue_style( |
| @@ -271,8 +271,9 @@ | ||
| 271 | 271 | <span class="ka-v3-segmented-icon" aria-hidden="true">☾</span> |
| 272 | 272 | <?php esc_html_e('Dark', 'king-addons'); ?> |
| 273 | 273 | </button> |
| 274 | 274 | <button type="button" class="ka-v3-segmented-btn" data-theme="auto" aria-pressed="<?php echo $theme_mode === 'auto' ? 'true' : 'false'; ?>"> |
| 275 | + <span class="ka-v3-segmented-icon" aria-hidden="true">◐</span> | |
| 275 | 276 | <?php esc_html_e('Auto', 'king-addons'); ?> |
| 276 | 277 | </button> |
| 277 | 278 | </div> |
| 278 | 279 | </div> |