parent
42d90594af
commit
6975335941
|
@ -2066,7 +2066,7 @@ class WC_Admin_Post_Types {
|
||||||
public function edit_form_after_title( $post ) {
|
public function edit_form_after_title( $post ) {
|
||||||
if ( 'shop_coupon' === $post->post_type ) {
|
if ( 'shop_coupon' === $post->post_type ) {
|
||||||
?>
|
?>
|
||||||
<textarea id="woocommerce-coupon-description" name="excerpt" cols="5" rows="2" placeholder="<?php esc_attr_e( 'Description (optional)', 'woocommerce' ); ?>"><?php echo esc_textarea( $post->post_excerpt ); ?></textarea>
|
<textarea id="woocommerce-coupon-description" name="excerpt" cols="5" rows="2" placeholder="<?php esc_attr_e( 'Description (optional)', 'woocommerce' ); ?>"><?php echo $post->post_excerpt; // This is already escaped in core ?></textarea>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue