| @@ -1,8 +1,8 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | 3 | * @package FireBox |
| 4 | - * @version 3.1.9 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 |
| @@ -251,12 +251,12 @@ | ||
| 251 | 251 | $data = [ |
| 252 | 252 | 'google_fonts' => \FPFramework\Libs\GoogleFonts::getFonts(), |
| 253 | 253 | 'google_fonts_names' => \FPFramework\Libs\GoogleFonts::getFontsNames(), |
| 254 | 254 | 'icons' => \FireBox\Core\Libs\Icons::getAll(), |
| 255 | - 'turnstile_site_key' => \FireBox\Core\Helpers\Captcha\Turnstile::getSiteKey(), | |
| 256 | - 'turnstile_secret_key' => \FireBox\Core\Helpers\Captcha\Turnstile::getSecretKey(), | |
| 255 | + 'turnstile_site_key' => \FireBox\Core\Helpers\Captcha\Turnstile::getSiteKey(), | |
| 256 | + 'has_turnstile_secret_key' => (string) \FireBox\Core\Helpers\Captcha\Turnstile::getSecretKey() !== '', | |
| 257 | 257 | 'hcaptcha_site_key' => \FireBox\Core\Helpers\Captcha\HCaptcha::getSiteKey(), |
| 258 | - 'hcaptcha_secret_key' => \FireBox\Core\Helpers\Captcha\HCaptcha::getSecretKey(), | |
| 258 | + 'has_hcaptcha_secret_key' => (string) \FireBox\Core\Helpers\Captcha\HCaptcha::getSecretKey() !== '', | |
| 259 | 259 | 'settings_url' => admin_url('admin.php?page=firebox-settings'), |
| 260 | 260 | 'integrations_registry' => $integrations_registry, |
| 261 | 261 | 'integration_connections' => $integration_connections, |
| 262 | 262 | 'license_type' => defined('FBOX_LICENSE_TYPE') ? FBOX_LICENSE_TYPE : '', |