| @@ -1,12 +1,12 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -if ( ! defined('WPINC') ) { | |
| 4 | - wp_die(); | |
| 3 | +if ( ! defined('ABSPATH') ) { | |
| 4 | + exit; | |
| 5 | 5 | } |
| 6 | 6 | |
| 7 | 7 | ?><td class="wpc-filter-field-td"> |
| 8 | - <div class="wpc-field-wrap <?php echo esc_attr( $attributes['id'] ); ?>-wrap"> | |
| 8 | + <div class="wpc-field-wrap <?php if( isset( $attributes['id'] ) ){ echo esc_attr( $attributes['id'] ); } ?>-wrap"> | |
| 9 | 9 | <?php echo flrt_render_input( $attributes ); // Already escaped in function ?> |
| 10 | 10 | <?php do_action('wpc_after_filter_input', $attributes ); ?> |
| 11 | 11 | </div> |
| 12 | 12 | </td> |