HEX
Server: Apache/2.4.65 (Debian)
System: Linux 88f31f35b0b8 6.1.0-38-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.147-1 (2025-08-02) x86_64
User: www-data (33)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/plugins/advanced-ads/admin/views/notices/promo.php
<?php
/**
 * Template for a promotional banner
 *
 * @package AdvancedAds
 *
 * @var string $text    content of the notice.
 * @var string $_notice internal key of the notice.
 */

use AdvancedAds\Framework\Utilities\Params;

?>
<div class="notice notice-promo advads-notice advads-admin-notice message is-dismissible"
	data-notice="<?php echo esc_attr( $_notice ); ?>">
	<p>
		<?php
		echo wp_kses(
			$text,
			[
				'a'    => [
					'href'   => [],
					'class'  => [],
					'target' => [],
				],
				'span' => [
					'style' => [],
				],
			]
		);
		?>
	</p>
	<a href="
	<?php
	add_query_arg(
		[
			'action'   => 'advads-close-notice',
			'notice'   => $_notice,
			'nonce'    => wp_create_nonce( 'advanced-ads-admin-ajax-nonce' ),
			'redirect' => Params::server( 'REQUEST_URI' ),
		],
		admin_url( 'admin-ajax.php' )
	);
	?>
	" class="notice-dismiss"><span class="screen-reader-text"><?php esc_html__( 'Dismiss this notice.', 'advanced-ads' ); ?></span></a>
</div>