| @@ -11,9 +11,9 @@ | ||
| 11 | 11 | <div class="clear"></div> |
| 12 | 12 | |
| 13 | 13 | <p class="frm_has_shortcodes"> |
| 14 | 14 | <label><?php esc_html_e( 'Before Fields', 'formidable' ); ?></label> |
| 15 | - <textarea name="options[before_html]" rows="4" id="before_html" class="frm_long_input"><?php echo FrmAppHelper::esc_textarea( $values['before_html'] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></textarea> | |
| 15 | + <textarea name="options[before_html]" rows="4" id="before_html" class="frm_long_input"><?php echo FrmAppHelper::esc_textarea( $values['before_html'] ); // WPCS: XSS ok. ?></textarea> | |
| 16 | 16 | </p> |
| 17 | 17 | |
| 18 | 18 | <div id="add_html_fields"> |
| 19 | 19 | <?php |
| @@ -22,9 +22,9 @@ | ||
| 22 | 22 | if ( FrmFieldFactory::field_has_html( $field['type'] ) ) { |
| 23 | 23 | ?> |
| 24 | 24 | <p class="frm_has_shortcodes"> |
| 25 | 25 | <label><?php echo esc_html( $field['name'] ); ?></label> |
| 26 | - <textarea name="field_options[custom_html_<?php echo esc_attr( $field['id'] ); ?>]" rows="7" id="custom_html_<?php echo esc_attr( $field['id'] ); ?>" class="field_custom_html frm_long_input"><?php echo FrmAppHelper::esc_textarea( $field['custom_html'] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></textarea> | |
| 26 | + <textarea name="field_options[custom_html_<?php echo esc_attr( $field['id'] ); ?>]" rows="7" id="custom_html_<?php echo esc_attr( $field['id'] ); ?>" class="field_custom_html frm_long_input"><?php echo FrmAppHelper::esc_textarea( $field['custom_html'] ); // WPCS: XSS ok. ?></textarea> | |
| 27 | 27 | </p> |
| 28 | 28 | <?php |
| 29 | 29 | } |
| 30 | 30 | unset( $field ); |
| @@ -34,12 +34,12 @@ | ||
| 34 | 34 | </div> |
| 35 | 35 | |
| 36 | 36 | <p class="frm_has_shortcodes"> |
| 37 | 37 | <label><?php esc_html_e( 'After Fields', 'formidable' ); ?></label> |
| 38 | - <textarea name="options[after_html]" rows="3" id="after_html" class="frm_long_input"><?php echo FrmAppHelper::esc_textarea( $values['after_html'] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></textarea> | |
| 38 | + <textarea name="options[after_html]" rows="3" id="after_html" class="frm_long_input"><?php echo FrmAppHelper::esc_textarea( $values['after_html'] ); // WPCS: XSS ok. ?></textarea> | |
| 39 | 39 | </p> |
| 40 | 40 | |
| 41 | 41 | <p class="frm_has_shortcodes"> |
| 42 | 42 | <label><?php esc_html_e( 'Submit Button', 'formidable' ); ?></label> |
| 43 | - <textarea name="options[submit_html]" rows="3" id="submit_html" class="frm_long_input"><?php echo FrmAppHelper::esc_textarea( $values['submit_html'] ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?></textarea> | |
| 43 | + <textarea name="options[submit_html]" rows="3" id="submit_html" class="frm_long_input"><?php echo FrmAppHelper::esc_textarea( $values['submit_html'] ); // WPCS: XSS ok. ?></textarea> | |
| 44 | 44 | </p> |
| 45 | 45 | </div> |