HEX
Server: Apache
System: Linux vps.rockyroadprinting.net 4.18.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
User: rockyroadprintin (1011)
PHP: 8.2.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/rockyroadprintin/www/wp-content/plugins/imagify/views/notice-temporary.php
<?php
defined( 'ABSPATH' ) || exit;

$notices = array();

foreach ( $data as $notice_data ) {
	if ( empty( $notices[ $notice_data['type'] ] ) ) {
		$notices[ $notice_data['type'] ] = array();
	}

	$notices[ $notice_data['type'] ][] = $notice_data;
}

foreach ( $notices as $type_id => $type_notices ) {
	?>
	<div class="<?php echo $type_id; ?> settings-error notice is-dismissible">
		<?php foreach ( $type_notices as $details ) { ?>
			<p><strong><?php echo wp_kses( $details['message'], [ 'code' => [] ] ); ?></strong></p>
		<?php } ?>
	</div>
	<?php
}