| @@ -1,8 +1,8 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | /** |
| 3 | 3 | * @package FireBox |
| 4 | - * @version 3.1.8 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 |
| @@ -127,15 +127,9 @@ | ||
| 127 | 127 | * @var Log |
| 128 | 128 | */ |
| 129 | 129 | public $log; |
| 130 | 130 | |
| 131 | - /** | |
| 132 | - * PHP Scripts | |
| 133 | - * | |
| 134 | - * @var PHPScripts | |
| 135 | - */ | |
| 136 | - public $phpscripts; | |
| 137 | - #PRO-END | |
| 131 | + | |
| 138 | 132 | |
| 139 | 133 | /** |
| 140 | 134 | * Translations cache |
| 141 | 135 | * |
| @@ -281,8 +275,12 @@ | ||
| 281 | 275 | |
| 282 | 276 | |
| 283 | 277 | // Register Custom Post Type |
| 284 | 278 | new \FireBox\Core\Admin\Includes\Cpts\Firebox(); |
| 279 | + | |
| 280 | + // Keep the campaign-derived caches (box list, "session conditions in use" | |
| 281 | + // flag) in sync with campaign writes | |
| 282 | + \FireBox\Core\Helpers\BoxHelper::registerCacheInvalidation(); | |
| 285 | 283 | |
| 286 | 284 | // Renderer |
| 287 | 285 | $this->renderer = new Renderer(FBOX_LAYOUTS_DIR); |
| 288 | 286 | |