Merge pull request #4938 from BFTrick/cart-variation-classes
Correcting Cart Template Class Names
This commit is contained in:
commit
d139918796
|
@ -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