| @@ -1,9 +1,5 @@ | ||
| 1 | 1 | <?php |
| 2 | -if ( ! defined( 'ABSPATH' ) ) { | |
| 3 | - die( 'You are not allowed to call this page directly.' ); | |
| 4 | -} | |
| 5 | - | |
| 6 | 2 | _deprecated_file( esc_html( basename( __FILE__ ) ), '3.0', null, 'FrmFieldType::field_input' ); |
| 7 | 3 | |
| 8 | 4 | $field_obj = FrmFieldFactory::get_field_type( $field['type'], $field ); |
| 9 | -echo $field_obj->include_front_field_input( compact( 'errors', 'form', 'html_id', 'field_name' ), $atts ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped | |
| 5 | +echo $field_obj->include_front_field_input( compact( 'errors', 'form', 'html_id', 'field_name' ), $atts ); // WPCS: XSS ok. | |