Problem adding additional field in Wc vendors
-
I will add a field like this
code :<?php WCVendors_Pro_Form_Helper::input(array( 'type' => 'text', 'post_id' => $object_id, 'id' => 'wcv_custom_product_ingredients', 'class' => 'bvk', 'label' => __('Ingredients', 'wcvendors-pro'), 'placeholder' => __('Ingredients', 'wcvendors-pro'), 'desc_tip' => true, 'description' => __('The product ingredients', 'wcvendors-pro'), )); ?>
It is added, but it has a problem if it is used with tags html
Example :<script>alert(‘xss’)</script>
this code run and alert to user How can I prevent this problem?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Problem adding additional field in Wc vendors’ is closed to new replies.