kses Closes #2503.

This commit is contained in:
Mike Jolley 2013-02-21 19:55:58 +00:00
parent 884c217c12
commit 947a0aa483
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ function woocommerce_coupon_data_meta_box( $post ) {
$product = get_product( $product_id ); $product = get_product( $product_id );
$product_name = woocommerce_get_formatted_product_name( $product ); $product_name = woocommerce_get_formatted_product_name( $product );
echo '<option value="' . esc_attr( $product_id ) . '" selected="selected">' . esc_html( $product_name ) . '</option>'; echo '<option value="' . esc_attr( $product_id ) . '" selected="selected">' . wp_kses_post( $product_name ) . '</option>';
} }
} }
?> ?>