2013-11-13 04:38:11 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Show messages
|
|
|
|
*
|
|
|
|
* @author WooThemes
|
|
|
|
* @package WooCommerce/Templates
|
|
|
|
* @version 1.6.4
|
|
|
|
*/
|
|
|
|
|
2014-09-22 16:31:03 +00:00
|
|
|
if ( ! defined( 'ABSPATH' ) ) {
|
|
|
|
exit; // Exit if accessed directly
|
|
|
|
}
|
|
|
|
|
|
|
|
if ( ! $messages ){
|
|
|
|
return;
|
|
|
|
}
|
2013-11-13 04:38:11 +00:00
|
|
|
|
|
|
|
?>
|
|
|
|
|
2013-11-14 00:19:59 +00:00
|
|
|
<?php foreach ( $messages as $message ) : ?>
|
|
|
|
<div class="woocommerce-info"><?php echo wp_kses_post( $message ); ?></div>
|
2014-09-22 16:31:03 +00:00
|
|
|
<?php endforeach; ?>
|