From d6f5a6f868aac56acedadca080ec3f3879496137 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Wed, 26 Mar 2014 09:41:38 +0000 Subject: [PATCH] wp_kses_post for meta display in admin --- includes/class-wc-order-item-meta.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-wc-order-item-meta.php b/includes/class-wc-order-item-meta.php index 2d9f9a8b8d8..6d34f781dca 100644 --- a/includes/class-wc-order-item-meta.php +++ b/includes/class-wc-order-item-meta.php @@ -68,7 +68,7 @@ class WC_Order_Item_Meta { } if ( $flat ) - $meta_list[] = esc_attr( wc_attribute_label( str_replace( 'attribute_', '', $meta_key ) ) . ': ' . apply_filters( 'woocommerce_order_item_display_meta_value', $meta_value ) ); + $meta_list[] = wp_kses_post( wc_attribute_label( str_replace( 'attribute_', '', $meta_key ) ) . ': ' . apply_filters( 'woocommerce_order_item_display_meta_value', $meta_value ) ); else $meta_list[] = '
' . wp_kses_post( wc_attribute_label( str_replace( 'attribute_', '', $meta_key ) ) ) . ':