Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion adminfunctions.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ function foxy_wp_kses_html($data, $filter_tags = [], $allow_forms = false){
'imagekey' => true,
'code' => true,
'codeadd' => true,
'subfrequency' => true
'subfrequency' => true,
'maxlength' => true
],
'select' => [
'name' => true,
Expand All @@ -49,6 +50,7 @@ function foxy_wp_kses_html($data, $filter_tags = [], $allow_forms = false){
'priceset' => true,
'pricechange' => true,
'displaykey' => true,
'dkey' => true,
'imagekey' => true,
'code' => true,
'codeadd' => true,
Expand All @@ -66,6 +68,14 @@ function foxy_wp_kses_html($data, $filter_tags = [], $allow_forms = false){
'codeadd' => true,
'subfrequency' => true
],
'textarea' => [
'name' => true,
'class' => true,
'id' => true,
'disabled' => true,
'style' => true,
'dkey' => true
],
'label' => [
'dkey' => true
],
Expand Down Expand Up @@ -1008,3 +1018,5 @@ function foxyshop_manage_attributes_jquery($att_type) {
<?php

}


3 changes: 2 additions & 1 deletion tools-page.php
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ function foxyshop_tools() {
</div>
<div class="foxyshop_field_control">
<label for="_variation_textsize2_<?php echo esc_attr($i); ?>"><?php _e('Maximum Chars', 'foxyshop'); ?></label>
<input type="text" name="_variation_textsize2_<?php echo esc_attr($i); ?>" id="_variation_textsize2_<?php echo esc_attr($i); ?>" value="<?php if (isset($arrVariationTextSize)) echo esc_url($arrVariationTextSize[1]); ?>" /> <span><?php _e('characters', 'foxyshop'); ?></span>
<input type="text" name="_variation_textsize2_<?php echo esc_attr($i); ?>" id="_variation_textsize2_<?php echo esc_attr($i); ?>" value="<?php if (isset($arrVariationTextSize)) echo esc_attr($arrVariationTextSize[1]); ?>" /> <span><?php _e('characters', 'foxyshop'); ?></span>
</div>
<div style="clear: both;"></div>
</div>
Expand Down Expand Up @@ -888,3 +888,4 @@ function getVariationContents(new_type, this_id) {

}
?>