| @@ -1,8 +1,8 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | 3 | * @package FireBox |
| 4 | - * @version 3.1.12 Free | |
| 4 | + * @version 3.1.14 Free | |
| 5 | 5 | * |
| 6 | 6 | * @author FirePlugins <[email protected]> |
| 7 | 7 | * @link https://www.fireplugins.com |
| 8 | 8 | * @copyright Copyright © 2026 FirePlugins All Rights Reserved |
| @@ -197,8 +197,13 @@ | ||
| 197 | 197 | * @return bool |
| 198 | 198 | */ |
| 199 | 199 | private function isAllowedProgrammaticSettingsUpdate() |
| 200 | 200 | { |
| 201 | + if (!wp_doing_ajax()) | |
| 202 | + { | |
| 203 | + return false; | |
| 204 | + } | |
| 205 | + | |
| 201 | 206 | $action = isset($_REQUEST['action']) ? sanitize_key(wp_unslash($_REQUEST['action'])) : ''; |
| 202 | 207 | |
| 203 | 208 | if ($action === '') |
| 204 | 209 | { |