| 1 |
<?php |
| 2 |
/** |
| 3 |
* @package FireBox |
| 4 |
* @version 3.1.14 Free |
| 5 |
* |
| 6 |
* @author FirePlugins <[email protected]> |
| 7 |
* @link https://www.fireplugins.com |
| 8 |
* @copyright Copyright © 2026 FirePlugins All Rights Reserved |
| 9 |
* @license GNU GPLv3 <http://www.gnu.org/licenses/gpl.html> or later |
| 10 |
*/ |
| 11 |
|
| 12 |
if (!defined('ABSPATH')) |
| 13 |
{ |
| 14 |
exit; // Exit if accessed directly. |
| 15 |
} |
| 16 |
?> |
| 17 |
<div |
| 18 |
class="firebox-notices" |
| 19 |
<?php // esc_attr() already encodes the JSON for an attribute. The flagless |
| 20 |
// htmlspecialchars() this replaced was redundant, and its encoding varied with the PHP |
| 21 |
// version (8.1 switched the default to ENT_QUOTES). ?> |
| 22 |
data-exclude="<?php echo esc_attr(wp_json_encode($this->data->get('exclude'))); ?>" |
| 23 |
data-ajaxurl="<?php echo esc_attr(admin_url('admin-ajax.php')); ?>" |
| 24 |
data-nonce="<?php echo esc_attr(wp_create_nonce('firebox_notices')); ?>" |
| 25 |
> |
| 26 |
</div> |