correcting cart template class names
This commit is contained in:
parent
f76dba5abe
commit
d8ab9de620
|
@ -15,7 +15,7 @@ if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
|||
foreach ( $item_data as $data ) :
|
||||
$key = sanitize_text_field( $data['key'] );
|
||||
?>
|
||||
<dt class="variation-<?php echo $key; ?>"><?php echo wp_kses_post( $data['key'] ); ?>:</dt>
|
||||
<dd class="variation-<?php echo $key; ?>"><?php echo wp_kses_post( wpautop( $data['value'] ) ); ?></dd>
|
||||
<dt class="variation-<?php echo sanitize_html_class( $key ); ?>"><?php echo wp_kses_post( $data['key'] ); ?>:</dt>
|
||||
<dd class="variation-<?php echo sanitize_html_class( $key ); ?>"><?php echo wp_kses_post( wpautop( $data['value'] ) ); ?></dd>
|
||||
<?php endforeach; ?>
|
||||
</dl>
|
||||
|
|
Loading…
Reference in New Issue