This commit is contained in:
Mike Jolley 2017-03-17 11:27:23 +00:00
parent aa2cf11dc4
commit 476041698f
1 changed files with 4 additions and 4 deletions

View File

@ -26,8 +26,8 @@ if ( ! defined( 'ABSPATH' ) ) {
<?php if ( ! empty( $fields ) ): ?>
<h2><?php _e( 'Customer details', 'woocommerce' ); ?></h2>
<ul>
<?php foreach ( $fields as $field ) : ?>
<li><strong><?php echo wp_kses_post( $field['label'] ); ?>:</strong> <span class="text"><?php echo wp_kses_post( $field['value'] ); ?></span></li>
<?php endforeach; ?>
<?php foreach ( $fields as $field ) : ?>
<li><strong><?php echo wp_kses_post( $field['label'] ); ?>:</strong> <span class="text"><?php echo wp_kses_post( $field['value'] ); ?></span></li>
<?php endforeach; ?>
</ul>
<?php endif; ?>
<?php endif; ?>