HEX
Server:Apache
System:Linux localhost 5.10.0-14-amd64 #1 SMP Debian 5.10.113-1 (2022-04-29) x86_64
User:enlugo-es (10006)
PHP:7.4.33
Disabled:opcache_get_status
Upload Files
File: /var/www/vhosts/enlugo.es/httpdocs/wp-content/plugins/wp-maintenance-mode/views/notices.php
<?php
/**
 * Notices
 *
 * @version 2.4.0
 */

defined( 'ABSPATH' ) || exit;

foreach ( $notices as $key => $notice ) {
	if ( in_array( $key, $dismissed_notices, true ) ) {
		continue;
	}

	printf( '<div id="message" class="%s" data-key="%s"><p>%s</p></div>', esc_attr( $notice['class'] ), esc_attr( $key ), wp_kses_post( $notice['msg'] ) );
}