@@ -26,21 +26,21 @@ discard block |
||
26 | 26 | */ |
27 | 27 | protected $value; |
28 | 28 | |
29 | - function __construct( $name = '', $field = array(), $curr_value = NULL ) { |
|
29 | + function __construct($name = '', $field = array(), $curr_value = NULL) { |
|
30 | 30 | |
31 | 31 | $this->name = $name; |
32 | 32 | |
33 | 33 | $defaults = self::get_field_defaults(); |
34 | 34 | |
35 | 35 | // Backward compatibility |
36 | - if( !empty( $field['choices'] ) ) { |
|
36 | + if (!empty($field['choices'])) { |
|
37 | 37 | $field['options'] = $field['choices']; |
38 | - unset( $field['choices'] ); |
|
38 | + unset($field['choices']); |
|
39 | 39 | } |
40 | 40 | |
41 | - $this->field = wp_parse_args( $field, $defaults ); |
|
41 | + $this->field = wp_parse_args($field, $defaults); |
|
42 | 42 | |
43 | - $this->value = is_null( $curr_value ) ? $this->field['value'] : $curr_value; |
|
43 | + $this->value = is_null($curr_value) ? $this->field['value'] : $curr_value; |
|
44 | 44 | |
45 | 45 | } |
46 | 46 | |
@@ -77,11 +77,11 @@ discard block |
||
77 | 77 | |
78 | 78 | |
79 | 79 | function get_tooltip() { |
80 | - if( !function_exists('gform_tooltip') ) { |
|
80 | + if (!function_exists('gform_tooltip')) { |
|
81 | 81 | return NULL; |
82 | 82 | } |
83 | 83 | |
84 | - return !empty( $this->field['tooltip'] ) ? ' '.gform_tooltip( $this->field['tooltip'] , false, true ) : NULL; |
|
84 | + return !empty($this->field['tooltip']) ? ' '.gform_tooltip($this->field['tooltip'], false, true) : NULL; |
|
85 | 85 | } |
86 | 86 | |
87 | 87 | /** |
@@ -89,10 +89,10 @@ discard block |
||
89 | 89 | * @return string |
90 | 90 | */ |
91 | 91 | function get_field_id() { |
92 | - if( isset( $this->field['id'] ) ) { |
|
93 | - return esc_attr( $this->field['id'] ); |
|
92 | + if (isset($this->field['id'])) { |
|
93 | + return esc_attr($this->field['id']); |
|
94 | 94 | } |
95 | - return esc_attr( sanitize_html_class( $this->name ) ); |
|
95 | + return esc_attr(sanitize_html_class($this->name)); |
|
96 | 96 | } |
97 | 97 | |
98 | 98 | /** |
@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | * @return string |
101 | 101 | */ |
102 | 102 | function get_field_label() { |
103 | - return esc_html( trim( $this->field['label'] ) ); |
|
103 | + return esc_html(trim($this->field['label'])); |
|
104 | 104 | } |
105 | 105 | |
106 | 106 | /** |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | * @return string |
112 | 112 | */ |
113 | 113 | function get_field_left_label() { |
114 | - return isset( $this->field['left_label'] ) ? esc_html( trim( $this->field['left_label'] ) ) : NULL; |
|
114 | + return isset($this->field['left_label']) ? esc_html(trim($this->field['left_label'])) : NULL; |
|
115 | 115 | } |
116 | 116 | |
117 | 117 | /** |
@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | * @return string |
120 | 120 | */ |
121 | 121 | function get_label_class() { |
122 | - return 'gv-label-'. sanitize_html_class( $this->field['type'] ); |
|
122 | + return 'gv-label-'.sanitize_html_class($this->field['type']); |
|
123 | 123 | } |
124 | 124 | |
125 | 125 | |
@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | * @return string |
129 | 129 | */ |
130 | 130 | function get_field_desc() { |
131 | - return !empty( $this->field['desc'] ) ? '<span class="howto">'. $this->field['desc'] .'</span>' : ''; |
|
131 | + return !empty($this->field['desc']) ? '<span class="howto">'.$this->field['desc'].'</span>' : ''; |
|
132 | 132 | } |
133 | 133 | |
134 | 134 | |
@@ -138,11 +138,11 @@ discard block |
||
138 | 138 | */ |
139 | 139 | function show_merge_tags() { |
140 | 140 | // Show the merge tags if the field is a list view |
141 | - $is_list = preg_match( '/_list-/ism', $this->name ); |
|
141 | + $is_list = preg_match('/_list-/ism', $this->name); |
|
142 | 142 | // Or is a single entry view |
143 | - $is_single = preg_match( '/single_/ism', $this->name ); |
|
143 | + $is_single = preg_match('/single_/ism', $this->name); |
|
144 | 144 | |
145 | - return ( $is_single || $is_list ); |
|
145 | + return ($is_single || $is_list); |
|
146 | 146 | } |
147 | 147 | |
148 | 148 | |
@@ -159,25 +159,25 @@ discard block |
||
159 | 159 | * important! Override this class if needed |
160 | 160 | * outputs the field setting html |
161 | 161 | */ |
162 | - function render_setting( $override_input = NULL ) { |
|
162 | + function render_setting($override_input = NULL) { |
|
163 | 163 | |
164 | - if( !empty( $this->field['full_width'] ) ) { ?> |
|
164 | + if (!empty($this->field['full_width'])) { ?> |
|
165 | 165 | <th scope="row" colspan="2"> |
166 | 166 | <div> |
167 | 167 | <label for="<?php echo $this->get_field_id(); ?>"> |
168 | - <?php echo $this->get_field_label() . $this->get_tooltip(); ?> |
|
168 | + <?php echo $this->get_field_label().$this->get_tooltip(); ?> |
|
169 | 169 | </label> |
170 | 170 | </div> |
171 | - <?php $this->render_input( $override_input ); ?> |
|
171 | + <?php $this->render_input($override_input); ?> |
|
172 | 172 | </th> |
173 | 173 | <?php } else { ?> |
174 | 174 | <th scope="row"> |
175 | 175 | <label for="<?php echo $this->get_field_id(); ?>"> |
176 | - <?php echo $this->get_field_label() . $this->get_tooltip(); ?> |
|
176 | + <?php echo $this->get_field_label().$this->get_tooltip(); ?> |
|
177 | 177 | </label> |
178 | 178 | </th> |
179 | 179 | <td> |
180 | - <?php $this->render_input( $override_input ); ?> |
|
180 | + <?php $this->render_input($override_input); ?> |
|
181 | 181 | </td> |
182 | 182 | <?php } |
183 | 183 | |
@@ -187,7 +187,7 @@ discard block |
||
187 | 187 | * important! Override this class |
188 | 188 | * outputs the input html part |
189 | 189 | */ |
190 | - function render_input( $override_input ) { |
|
190 | + function render_input($override_input) { |
|
191 | 191 | echo ''; |
192 | 192 | } |
193 | 193 |
@@ -8,10 +8,10 @@ discard block |
||
8 | 8 | function __construct() { |
9 | 9 | |
10 | 10 | // Add Edit link to the entry actions |
11 | - add_action( 'gform_entries_first_column_actions', array( $this, 'add_edit_link' ), 10, 5 ); |
|
11 | + add_action('gform_entries_first_column_actions', array($this, 'add_edit_link'), 10, 5); |
|
12 | 12 | |
13 | 13 | // Add script to enable edit link |
14 | - add_action( 'admin_head-forms_page_gf_entries', array( $this, 'add_edit_script') ); |
|
14 | + add_action('admin_head-forms_page_gf_entries', array($this, 'add_edit_script')); |
|
15 | 15 | |
16 | 16 | } |
17 | 17 | |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | public function add_edit_script() { |
27 | 27 | |
28 | 28 | // We're on a single entry page, or at least not the Entries page. |
29 | - if( !empty( $_GET['view'] ) && $_GET['view'] !== 'entries' ) { return; } |
|
29 | + if (!empty($_GET['view']) && $_GET['view'] !== 'entries') { return; } |
|
30 | 30 | ?> |
31 | 31 | <script> |
32 | 32 | jQuery( document ).ready( function( $ ) { |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | * @param array $lead The current entry data |
51 | 51 | * @param string $query_string URL query string for a link to the current entry. Missing the `?page=` part, which is strange. Example: `gf_entries&view=entry&id=35&lid=5212&filter=&paged=1` |
52 | 52 | */ |
53 | - function add_edit_link( $form_id = NULL, $field_id = NULL, $value = NULL, $lead = array(), $query_string = NULL ) { |
|
53 | + function add_edit_link($form_id = NULL, $field_id = NULL, $value = NULL, $lead = array(), $query_string = NULL) { |
|
54 | 54 | |
55 | 55 | $params = array( |
56 | 56 | 'page' => 'gf_entries', |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | |
64 | 64 | <span class="edit edit_entry"> |
65 | 65 | | |
66 | - <a title="<?php esc_attr_e( 'Edit this entry', 'gravityview'); ?>" href="<?php echo esc_url( add_query_arg( $params, admin_url( 'admin.php?page='.$query_string ) ) ); ?>"><?php esc_html_e( 'Edit', 'gravityview' ); ?></a> |
|
66 | + <a title="<?php esc_attr_e('Edit this entry', 'gravityview'); ?>" href="<?php echo esc_url(add_query_arg($params, admin_url('admin.php?page='.$query_string))); ?>"><?php esc_html_e('Edit', 'gravityview'); ?></a> |
|
67 | 67 | </span> |
68 | 68 | <?php |
69 | 69 | } |
@@ -8,24 +8,24 @@ discard block |
||
8 | 8 | ?> |
9 | 9 | <label for="<?php echo $this->get_field_id(); ?>" class="<?php echo $this->get_label_class(); ?>"> |
10 | 10 | <?php $this->render_input(); ?> |
11 | - <?php echo $this->get_field_label() . $this->get_tooltip() . $this->get_field_desc(); ?> |
|
11 | + <?php echo $this->get_field_label().$this->get_tooltip().$this->get_field_desc(); ?> |
|
12 | 12 | </label> |
13 | 13 | <?php |
14 | 14 | } |
15 | 15 | |
16 | - function render_setting( $override_input = NULL ) { |
|
16 | + function render_setting($override_input = NULL) { |
|
17 | 17 | |
18 | - if( $this->get_field_left_label() ) { ?> |
|
18 | + if ($this->get_field_left_label()) { ?> |
|
19 | 19 | |
20 | 20 | <td scope="row"> |
21 | 21 | <label for="<?php echo $this->get_field_id(); ?>"> |
22 | - <?php echo $this->get_field_left_label() . $this->get_tooltip(); ?> |
|
22 | + <?php echo $this->get_field_left_label().$this->get_tooltip(); ?> |
|
23 | 23 | </label> |
24 | 24 | </td> |
25 | 25 | <td> |
26 | 26 | <label> |
27 | - <?php $this->render_input( $override_input ); ?> |
|
28 | - <?php echo $this->get_field_label() . $this->get_tooltip() . $this->get_field_desc(); ?> |
|
27 | + <?php $this->render_input($override_input); ?> |
|
28 | + <?php echo $this->get_field_label().$this->get_tooltip().$this->get_field_desc(); ?> |
|
29 | 29 | </label> |
30 | 30 | </td> |
31 | 31 | |
@@ -33,23 +33,23 @@ discard block |
||
33 | 33 | |
34 | 34 | <td scope="row" colspan="2"> |
35 | 35 | <label for="<?php echo $this->get_field_id(); ?>"> |
36 | - <?php $this->render_input( $override_input ); ?> |
|
37 | - <?php echo $this->get_field_label() . $this->get_tooltip() . $this->get_field_desc(); ?> |
|
36 | + <?php $this->render_input($override_input); ?> |
|
37 | + <?php echo $this->get_field_label().$this->get_tooltip().$this->get_field_desc(); ?> |
|
38 | 38 | </label> |
39 | 39 | </td> |
40 | 40 | |
41 | 41 | <?php } |
42 | 42 | } |
43 | 43 | |
44 | - function render_input( $override_input = NULL ) { |
|
45 | - if( isset( $override_input ) ) { |
|
44 | + function render_input($override_input = NULL) { |
|
45 | + if (isset($override_input)) { |
|
46 | 46 | echo $override_input; |
47 | 47 | return; |
48 | 48 | } |
49 | 49 | |
50 | 50 | ?> |
51 | - <input name="<?php echo esc_attr( $this->name ); ?>" type="hidden" value="0" /> |
|
52 | - <input name="<?php echo esc_attr( $this->name ); ?>" id="<?php echo $this->get_field_id(); ?>" type="checkbox" value="1" <?php checked( $this->value, '1', true ); ?> /> |
|
51 | + <input name="<?php echo esc_attr($this->name); ?>" type="hidden" value="0" /> |
|
52 | + <input name="<?php echo esc_attr($this->name); ?>" id="<?php echo $this->get_field_id(); ?>" type="checkbox" value="1" <?php checked($this->value, '1', true); ?> /> |
|
53 | 53 | <?php |
54 | 54 | } |
55 | 55 |
@@ -8,17 +8,17 @@ |
||
8 | 8 | $this->render_input(); |
9 | 9 | } |
10 | 10 | |
11 | - function render_input( $override_input = null ) { |
|
11 | + function render_input($override_input = null) { |
|
12 | 12 | |
13 | - if( isset( $override_input ) ) { |
|
13 | + if (isset($override_input)) { |
|
14 | 14 | echo $override_input; |
15 | 15 | return; |
16 | 16 | } |
17 | 17 | |
18 | - $class = !empty( $this->field['class'] ) ? $this->field['class'] : 'widefat'; |
|
18 | + $class = !empty($this->field['class']) ? $this->field['class'] : 'widefat'; |
|
19 | 19 | |
20 | 20 | ?> |
21 | - <input name="<?php echo esc_attr( $this->name ); ?>" id="<?php echo $this->get_field_id(); ?>" type="hidden" value="<?php echo esc_attr( $this->value ); ?>" class="<?php echo esc_attr( $class ); ?>" /> |
|
21 | + <input name="<?php echo esc_attr($this->name); ?>" id="<?php echo $this->get_field_id(); ?>" type="hidden" value="<?php echo esc_attr($this->value); ?>" class="<?php echo esc_attr($class); ?>" /> |
|
22 | 22 | <?php |
23 | 23 | } |
24 | 24 |
@@ -3,13 +3,13 @@ discard block |
||
3 | 3 | * number input type |
4 | 4 | */ |
5 | 5 | |
6 | -if( !class_exists('GravityView_FieldType_text') ) { |
|
7 | - include_once( GRAVITYVIEW_DIR . 'includes/admin/field-types/type_text.php' ); |
|
6 | +if (!class_exists('GravityView_FieldType_text')) { |
|
7 | + include_once(GRAVITYVIEW_DIR.'includes/admin/field-types/type_text.php'); |
|
8 | 8 | } |
9 | 9 | class GravityView_FieldType_number extends GravityView_FieldType_text { |
10 | 10 | |
11 | - function render_input( $override_input = null ) { |
|
12 | - if( isset( $override_input ) ) { |
|
11 | + function render_input($override_input = null) { |
|
12 | + if (isset($override_input)) { |
|
13 | 13 | echo $override_input; |
14 | 14 | return; |
15 | 15 | } |
@@ -18,13 +18,13 @@ discard block |
||
18 | 18 | |
19 | 19 | $show_mt = $this->show_merge_tags(); |
20 | 20 | |
21 | - if( $show_mt && $this->field['merge_tags'] !== false || $this->field['merge_tags'] === 'force' ) { |
|
21 | + if ($show_mt && $this->field['merge_tags'] !== false || $this->field['merge_tags'] === 'force') { |
|
22 | 22 | $class = 'merge-tag-support mt-position-right mt-hide_all_fields '; |
23 | 23 | } |
24 | - $class .= !empty( $this->field['class'] ) ? $this->field['class'] : 'widefat'; |
|
24 | + $class .= !empty($this->field['class']) ? $this->field['class'] : 'widefat'; |
|
25 | 25 | |
26 | 26 | ?> |
27 | - <input name="<?php echo esc_attr( $this->name ); ?>" id="<?php echo $this->get_field_id(); ?>" type="number" value="<?php echo esc_attr( $this->value ); ?>" class="<?php echo esc_attr( $class ); ?>"> |
|
27 | + <input name="<?php echo esc_attr($this->name); ?>" id="<?php echo $this->get_field_id(); ?>" type="number" value="<?php echo esc_attr($this->value); ?>" class="<?php echo esc_attr($class); ?>"> |
|
28 | 28 | <?php |
29 | 29 | } |
30 | 30 |
@@ -18,15 +18,15 @@ |
||
18 | 18 | |
19 | 19 | } |
20 | 20 | |
21 | - function render_input( $override_input = null ) { |
|
22 | - if( isset( $override_input ) ) { |
|
21 | + function render_input($override_input = null) { |
|
22 | + if (isset($override_input)) { |
|
23 | 23 | echo $override_input; |
24 | 24 | return; |
25 | 25 | } |
26 | 26 | |
27 | - foreach( $this->field['options'] as $value => $label ) : ?> |
|
27 | + foreach ($this->field['options'] as $value => $label) : ?> |
|
28 | 28 | <label class="<?php echo $this->get_label_class(); ?>"> |
29 | - <input name="<?php echo esc_attr( $this->name ); ?>" id="<?php echo $this->get_field_id(); ?>-<?php echo esc_attr( $value ); ?>" type="radio" value="<?php echo esc_attr( $value ); ?>" <?php checked( $value, $this->value, true ); ?> /> <?php echo esc_html( $label ); ?> |
|
29 | + <input name="<?php echo esc_attr($this->name); ?>" id="<?php echo $this->get_field_id(); ?>-<?php echo esc_attr($value); ?>" type="radio" value="<?php echo esc_attr($value); ?>" <?php checked($value, $this->value, true); ?> /> <?php echo esc_html($label); ?> |
|
30 | 30 | </label> |
31 | 31 | <?php |
32 | 32 | endforeach; |
@@ -10,7 +10,7 @@ discard block |
||
10 | 10 | |
11 | 11 | echo '<span class="gv-label">'.$this->get_field_label().'</span>'; |
12 | 12 | |
13 | - echo $this->get_tooltip() . $this->get_field_desc(); |
|
13 | + echo $this->get_tooltip().$this->get_field_desc(); |
|
14 | 14 | |
15 | 15 | $this->render_input(); |
16 | 16 | |
@@ -19,15 +19,15 @@ discard block |
||
19 | 19 | <?php |
20 | 20 | } |
21 | 21 | |
22 | - function render_input( $override_input = null ) { |
|
23 | - if( isset( $override_input ) ) { |
|
22 | + function render_input($override_input = null) { |
|
23 | + if (isset($override_input)) { |
|
24 | 24 | echo $override_input; |
25 | 25 | return; |
26 | 26 | } |
27 | 27 | ?> |
28 | - <select name="<?php echo esc_attr( $this->name ); ?>" id="<?php echo $this->get_field_id(); ?>"> |
|
29 | - <?php foreach( $this->field['options'] as $value => $label ) : ?> |
|
30 | - <option value="<?php echo esc_attr( $value ); ?>" <?php selected( $value, $this->value, true ); ?>><?php echo esc_html( $label ); ?></option> |
|
28 | + <select name="<?php echo esc_attr($this->name); ?>" id="<?php echo $this->get_field_id(); ?>"> |
|
29 | + <?php foreach ($this->field['options'] as $value => $label) : ?> |
|
30 | + <option value="<?php echo esc_attr($value); ?>" <?php selected($value, $this->value, true); ?>><?php echo esc_html($label); ?></option> |
|
31 | 31 | <?php endforeach; ?> |
32 | 32 | </select> |
33 | 33 | <?php |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | <label for="<?php echo $this->get_field_id(); ?>" class="<?php echo $this->get_label_class(); ?>"><?php |
10 | 10 | |
11 | 11 | echo '<span class="gv-label">'.$this->get_field_label().'</span>'; |
12 | - echo $this->get_tooltip() . $this->get_field_desc(); |
|
12 | + echo $this->get_tooltip().$this->get_field_desc(); |
|
13 | 13 | ?><div> |
14 | 14 | <?php $this->render_input(); ?> |
15 | 15 | </div> |
@@ -17,9 +17,9 @@ discard block |
||
17 | 17 | <?php |
18 | 18 | } |
19 | 19 | |
20 | - function render_input( $override_input = null ) { |
|
20 | + function render_input($override_input = null) { |
|
21 | 21 | |
22 | - if( isset( $override_input ) ) { |
|
22 | + if (isset($override_input)) { |
|
23 | 23 | echo $override_input; |
24 | 24 | return; |
25 | 25 | } |
@@ -28,13 +28,13 @@ discard block |
||
28 | 28 | |
29 | 29 | $show_mt = $this->show_merge_tags(); |
30 | 30 | |
31 | - if( $show_mt && $this->field['merge_tags'] !== false || $this->field['merge_tags'] === 'force' ) { |
|
31 | + if ($show_mt && $this->field['merge_tags'] !== false || $this->field['merge_tags'] === 'force') { |
|
32 | 32 | $class = 'merge-tag-support mt-position-right mt-hide_all_fields '; |
33 | 33 | } |
34 | - $class .= !empty( $this->field['class'] ) ? $this->field['class'] : 'widefat'; |
|
34 | + $class .= !empty($this->field['class']) ? $this->field['class'] : 'widefat'; |
|
35 | 35 | |
36 | 36 | ?> |
37 | - <input name="<?php echo esc_attr( $this->name ); ?>" id="<?php echo $this->get_field_id(); ?>" type="text" value="<?php echo esc_attr( $this->value ); ?>" class="<?php echo esc_attr( $class ); ?>"> |
|
37 | + <input name="<?php echo esc_attr($this->name); ?>" id="<?php echo $this->get_field_id(); ?>" type="text" value="<?php echo esc_attr($this->value); ?>" class="<?php echo esc_attr($class); ?>"> |
|
38 | 38 | <?php |
39 | 39 | } |
40 | 40 |
@@ -10,7 +10,7 @@ discard block |
||
10 | 10 | <label for="<?php echo $this->get_field_id(); ?>" class="<?php echo $this->get_label_class(); ?>"><?php |
11 | 11 | |
12 | 12 | echo '<span class="gv-label">'.$this->get_field_label().'</span>'; |
13 | - echo $this->get_tooltip() . $this->get_field_desc(); |
|
13 | + echo $this->get_tooltip().$this->get_field_desc(); |
|
14 | 14 | ?><div> |
15 | 15 | <?php $this->render_input(); ?> |
16 | 16 | </div> |
@@ -18,8 +18,8 @@ discard block |
||
18 | 18 | <?php |
19 | 19 | } |
20 | 20 | |
21 | - function render_input( $override_input = null ) { |
|
22 | - if( isset( $override_input ) ) { |
|
21 | + function render_input($override_input = null) { |
|
22 | + if (isset($override_input)) { |
|
23 | 23 | echo $override_input; |
24 | 24 | return; |
25 | 25 | } |
@@ -28,17 +28,17 @@ discard block |
||
28 | 28 | |
29 | 29 | $show_mt = $this->show_merge_tags(); |
30 | 30 | |
31 | - if( $show_mt && $this->field['merge_tags'] !== false || $this->field['merge_tags'] === 'force' ) { |
|
31 | + if ($show_mt && $this->field['merge_tags'] !== false || $this->field['merge_tags'] === 'force') { |
|
32 | 32 | $class = ' merge-tag-support mt-position-right '; |
33 | 33 | |
34 | - if( empty( $this->field['show_all_fields'] ) ) { |
|
34 | + if (empty($this->field['show_all_fields'])) { |
|
35 | 35 | $class .= ' mt-hide_all_fields'; |
36 | 36 | } |
37 | 37 | } |
38 | - $class .= !empty( $this->field['class'] ) ? 'widefat ' . $this->field['class'] : 'widefat'; |
|
38 | + $class .= !empty($this->field['class']) ? 'widefat '.$this->field['class'] : 'widefat'; |
|
39 | 39 | |
40 | 40 | ?> |
41 | - <textarea name="<?php echo esc_attr( $this->name ); ?>" id="<?php echo $this->get_field_id(); ?>" class="<?php echo esc_attr( $class ); ?>" rows="5"><?php echo esc_textarea( $this->value ); ?></textarea> |
|
41 | + <textarea name="<?php echo esc_attr($this->name); ?>" id="<?php echo $this->get_field_id(); ?>" class="<?php echo esc_attr($class); ?>" rows="5"><?php echo esc_textarea($this->value); ?></textarea> |
|
42 | 42 | <?php |
43 | 43 | } |
44 | 44 |