HEX
Server: Apache
System: Linux webd001.cluster127.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: mciraet (192513)
PHP: 8.2.31
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/mciraet/www/wp-content/themes/movedo/woocommerce/notices/error.php
<?php
/**
 * Show error messages
 *
 * @package 	WooCommerce/Templates
 * @version 8.6.0
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

if ( version_compare( WC_VERSION, '3.9', '<' ) ) {
	if ( ! $messages ){
		return;
	}
?>
	<ul class="woocommerce-error grve-woo-error grve-bg-red" role="alert">
		<?php foreach ( $messages as $message ) : ?>
			<li>
				<?php echo wp_kses_post( $message ); ?>
			</li>
		<?php endforeach; ?>
	</ul>
<?php
} else {
	if ( ! $notices ) {
		return;
	}
?>
	<ul class="woocommerce-error grve-woo-error grve-bg-red" role="alert">
		<?php foreach ( $notices as $notice ) : ?>
			<li<?php echo wc_get_notice_data_attr( $notice ); ?>>
				<?php echo wc_kses_notice( $notice['notice'] ); ?>
			</li>
		<?php endforeach; ?>
	</ul>
<?php
}

//Omit closing PHP tag to avoid accidental whitespace output errors.