kses Closes #2503.
This commit is contained in:
parent
884c217c12
commit
947a0aa483
|
@ -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>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue