@@ -230,8 +230,8 @@ discard block |
||
230 | 230 | return $this->get_pagenum(); |
231 | 231 | } |
232 | 232 | |
233 | - if ( isset( $this->_pagination_args[ $key ] ) ) { |
|
234 | - return $this->_pagination_args[ $key ]; |
|
233 | + if ( isset( $this->_pagination_args[$key] ) ) { |
|
234 | + return $this->_pagination_args[$key]; |
|
235 | 235 | } |
236 | 236 | } |
237 | 237 | |
@@ -279,8 +279,8 @@ discard block |
||
279 | 279 | } |
280 | 280 | |
281 | 281 | private function hidden_search_inputs( $param_name ) { |
282 | - if ( ! empty( $_REQUEST[ $param_name ] ) ) { |
|
283 | - $value = sanitize_text_field( wp_unslash( $_REQUEST[ $param_name ] ) ); |
|
282 | + if ( ! empty( $_REQUEST[$param_name] ) ) { |
|
283 | + $value = sanitize_text_field( wp_unslash( $_REQUEST[$param_name] ) ); |
|
284 | 284 | echo '<input type="hidden" name="' . esc_attr( $param_name ) . '" value="' . esc_attr( $value ) . '" />'; |
285 | 285 | } |
286 | 286 | } |
@@ -324,7 +324,7 @@ discard block |
||
324 | 324 | |
325 | 325 | echo "<ul class='subsubsub'>\n"; |
326 | 326 | foreach ( $views as $class => $view ) { |
327 | - $views[ $class ] = "\t" . '<li class="' . esc_attr( $class ) . '">' . $view; |
|
327 | + $views[$class] = "\t" . '<li class="' . esc_attr( $class ) . '">' . $view; |
|
328 | 328 | } |
329 | 329 | echo implode( " |</li>\n", $views ) . "</li>\n"; // WPCS: XSS ok. |
330 | 330 | echo '</ul>'; |
@@ -682,7 +682,7 @@ discard block |
||
682 | 682 | 'next' => __( 'Next page', 'formidable' ), |
683 | 683 | ); |
684 | 684 | |
685 | - return $labels[ $link ]; |
|
685 | + return $labels[$link]; |
|
686 | 686 | } |
687 | 687 | |
688 | 688 | private function current_url() { |
@@ -775,7 +775,7 @@ discard block |
||
775 | 775 | |
776 | 776 | // If the primary column doesn't exist fall back to the |
777 | 777 | // first non-checkbox column. |
778 | - if ( ! isset( $columns[ $default ] ) ) { |
|
778 | + if ( ! isset( $columns[$default] ) ) { |
|
779 | 779 | $default = self::get_default_primary_column_name(); |
780 | 780 | } |
781 | 781 | |
@@ -789,7 +789,7 @@ discard block |
||
789 | 789 | */ |
790 | 790 | $column = apply_filters( 'list_table_primary_column', $default, $this->screen->id ); |
791 | 791 | |
792 | - if ( empty( $column ) || ! isset( $columns[ $column ] ) ) { |
|
792 | + if ( empty( $column ) || ! isset( $columns[$column] ) ) { |
|
793 | 793 | $column = $default; |
794 | 794 | } |
795 | 795 | |
@@ -811,7 +811,7 @@ discard block |
||
811 | 811 | // In 4.3, we added a fourth argument for primary column. |
812 | 812 | $column_headers = array( array(), array(), array(), $this->get_primary_column_name() ); |
813 | 813 | foreach ( $this->_column_headers as $key => $value ) { |
814 | - $column_headers[ $key ] = $value; |
|
814 | + $column_headers[$key] = $value; |
|
815 | 815 | } |
816 | 816 | |
817 | 817 | return $column_headers; |
@@ -844,7 +844,7 @@ discard block |
||
844 | 844 | $data[1] = false; |
845 | 845 | } |
846 | 846 | |
847 | - $sortable[ $id ] = $data; |
|
847 | + $sortable[$id] = $data; |
|
848 | 848 | } |
849 | 849 | |
850 | 850 | $primary = $this->get_primary_column_name(); |
@@ -921,8 +921,8 @@ discard block |
||
921 | 921 | $class[] = 'column-primary'; |
922 | 922 | } |
923 | 923 | |
924 | - if ( isset( $sortable[ $column_key ] ) ) { |
|
925 | - list( $orderby, $desc_first ) = $sortable[ $column_key ]; |
|
924 | + if ( isset( $sortable[$column_key] ) ) { |
|
925 | + list( $orderby, $desc_first ) = $sortable[$column_key]; |
|
926 | 926 | |
927 | 927 | if ( $current_orderby == $orderby ) { |
928 | 928 | $order = 'asc' == $current_order ? 'desc' : 'asc'; |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | $page = $this->get_pagenum(); |
19 | 19 | $per_page = $this->get_items_per_page( 'formidable_page_formidable_per_page' ); |
20 | 20 | |
21 | - $mode = self::get_param( |
|
21 | + $mode = self::get_param( |
|
22 | 22 | array( |
23 | 23 | 'param' => 'mode', |
24 | 24 | 'default' => 'list', |
@@ -30,13 +30,13 @@ discard block |
||
30 | 30 | 'default' => 'name', |
31 | 31 | ) |
32 | 32 | ); |
33 | - $order = self::get_param( |
|
33 | + $order = self::get_param( |
|
34 | 34 | array( |
35 | 35 | 'param' => 'order', |
36 | 36 | 'default' => 'ASC', |
37 | 37 | ) |
38 | 38 | ); |
39 | - $start = self::get_param( |
|
39 | + $start = self::get_param( |
|
40 | 40 | array( |
41 | 41 | 'param' => 'start', |
42 | 42 | 'default' => ( $page - 1 ) * $per_page, |
@@ -177,7 +177,7 @@ discard block |
||
177 | 177 | |
178 | 178 | if ( $counts->{$status} || 'draft' !== $status ) { |
179 | 179 | /* translators: %1$s: Status, %2$s: Number of items */ |
180 | - $links[ $status ] = '<a href="' . esc_url( '?page=formidable&form_type=' . $status ) . '" ' . $class . '>' . sprintf( __( '%1$s <span class="count">(%2$s)</span>', 'formidable' ), $name, number_format_i18n( $counts->{$status} ) ) . '</a>'; |
|
180 | + $links[$status] = '<a href="' . esc_url( '?page=formidable&form_type=' . $status ) . '" ' . $class . '>' . sprintf( __( '%1$s <span class="count">(%2$s)</span>', 'formidable' ), $name, number_format_i18n( $counts->{$status} ) ) . '</a>'; |
|
181 | 181 | } |
182 | 182 | |
183 | 183 | unset( $status, $name ); |
@@ -282,7 +282,7 @@ discard block |
||
282 | 282 | private function get_actions( &$actions, $item, $edit_link ) { |
283 | 283 | $new_actions = FrmFormsHelper::get_action_links( $item->id, $item ); |
284 | 284 | foreach ( $new_actions as $link => $action ) { |
285 | - $new_actions[ $link ] = FrmFormsHelper::format_link_html( $action, 'short' ); |
|
285 | + $new_actions[$link] = FrmFormsHelper::format_link_html( $action, 'short' ); |
|
286 | 286 | } |
287 | 287 | |
288 | 288 | if ( 'trash' == $this->status ) { |
@@ -61,8 +61,8 @@ discard block |
||
61 | 61 | } |
62 | 62 | |
63 | 63 | $with_tags = $args['conditional_check'] ? 3 : 2; |
64 | - if ( ! empty( $shortcodes[ $with_tags ][ $short_key ] ) ) { |
|
65 | - $tag = str_replace( '[' . $prefix, '', $shortcodes[0][ $short_key ] ); |
|
64 | + if ( ! empty( $shortcodes[$with_tags][$short_key] ) ) { |
|
65 | + $tag = str_replace( '[' . $prefix, '', $shortcodes[0][$short_key] ); |
|
66 | 66 | $tag = str_replace( ']', '', $tag ); |
67 | 67 | $tag = str_replace( chr( 194 ) . chr( 160 ), ' ', $tag ); |
68 | 68 | $tags = preg_split( '/\s+/', $tag, 2 ); |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | $tag = $tags[0]; |
71 | 71 | } |
72 | 72 | } else { |
73 | - $tag = $shortcodes[ $with_tags - 1 ][ $short_key ]; |
|
73 | + $tag = $shortcodes[$with_tags - 1][$short_key]; |
|
74 | 74 | } |
75 | 75 | |
76 | 76 | return $tag; |
@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | $section['function'] = $original; |
116 | 116 | } |
117 | 117 | |
118 | - $sections[ $key ] = $section; |
|
118 | + $sections[$key] = $section; |
|
119 | 119 | } |
120 | 120 | |
121 | 121 | return $sections; |
@@ -127,11 +127,11 @@ discard block |
||
127 | 127 | |
128 | 128 | $section = FrmAppHelper::get_post_param( 'tab', '', 'sanitize_text_field' ); |
129 | 129 | $sections = self::get_settings_tabs(); |
130 | - if ( ! isset( $sections[ $section ] ) ) { |
|
130 | + if ( ! isset( $sections[$section] ) ) { |
|
131 | 131 | wp_die(); |
132 | 132 | } |
133 | 133 | |
134 | - $section = $sections[ $section ]; |
|
134 | + $section = $sections[$section]; |
|
135 | 135 | |
136 | 136 | if ( isset( $section['class'] ) ) { |
137 | 137 | call_user_func( array( $section['class'], $section['function'] ) ); |
@@ -98,19 +98,19 @@ discard block |
||
98 | 98 | } |
99 | 99 | |
100 | 100 | foreach ( $action_controls as $action ) { |
101 | - if ( isset( $groups[ $action->id_base ] ) || in_array( $action->id_base, $grouped ) ) { |
|
101 | + if ( isset( $groups[$action->id_base] ) || in_array( $action->id_base, $grouped ) ) { |
|
102 | 102 | continue; |
103 | 103 | } |
104 | 104 | |
105 | 105 | $this_group = $action->action_options['group']; |
106 | - if ( ! isset( $groups[ $this_group ] ) ) { |
|
106 | + if ( ! isset( $groups[$this_group] ) ) { |
|
107 | 107 | $this_group = 'misc'; |
108 | 108 | } |
109 | 109 | |
110 | - if ( ! isset( $groups[ $this_group ]['actions'] ) ) { |
|
111 | - $groups[ $this_group ]['actions'] = array(); |
|
110 | + if ( ! isset( $groups[$this_group]['actions'] ) ) { |
|
111 | + $groups[$this_group]['actions'] = array(); |
|
112 | 112 | } |
113 | - $groups[ $this_group ]['actions'][] = $action->id_base; |
|
113 | + $groups[$this_group]['actions'][] = $action->id_base; |
|
114 | 114 | |
115 | 115 | unset( $action ); |
116 | 116 | } |
@@ -241,7 +241,7 @@ discard block |
||
241 | 241 | return $a; |
242 | 242 | } |
243 | 243 | |
244 | - $actions[ $a->id_base ] = $a; |
|
244 | + $actions[$a->id_base] = $a; |
|
245 | 245 | } |
246 | 246 | |
247 | 247 | return $actions; |
@@ -272,16 +272,16 @@ discard block |
||
272 | 272 | $action_map = array(); |
273 | 273 | |
274 | 274 | foreach ( $action_controls as $key => $control ) { |
275 | - $action_map[ $control->id_base ] = $key; |
|
275 | + $action_map[$control->id_base] = $key; |
|
276 | 276 | } |
277 | 277 | |
278 | 278 | foreach ( $form_actions as $action ) { |
279 | - if ( ! isset( $action_map[ $action->post_excerpt ] ) ) { |
|
279 | + if ( ! isset( $action_map[$action->post_excerpt] ) ) { |
|
280 | 280 | // don't try and show settings if action no longer exists |
281 | 281 | continue; |
282 | 282 | } |
283 | 283 | |
284 | - self::action_control( $action, $form, $action->ID, $action_controls[ $action_map[ $action->post_excerpt ] ], $values ); |
|
284 | + self::action_control( $action, $form, $action->ID, $action_controls[$action_map[$action->post_excerpt]], $values ); |
|
285 | 285 | } |
286 | 286 | } |
287 | 287 | |
@@ -489,8 +489,8 @@ discard block |
||
489 | 489 | } |
490 | 490 | |
491 | 491 | // Store actions so they can be triggered with the correct priority. |
492 | - $stored_actions[ $action->ID ] = $action; |
|
493 | - $action_priority[ $action->ID ] = $link_settings[ $action->post_excerpt ]->action_options['priority']; |
|
492 | + $stored_actions[$action->ID] = $action; |
|
493 | + $action_priority[$action->ID] = $link_settings[$action->post_excerpt]->action_options['priority']; |
|
494 | 494 | |
495 | 495 | unset( $action ); |
496 | 496 | } |
@@ -502,7 +502,7 @@ discard block |
||
502 | 502 | new FrmNotification(); |
503 | 503 | |
504 | 504 | foreach ( $action_priority as $action_id => $priority ) { |
505 | - $action = $stored_actions[ $action_id ]; |
|
505 | + $action = $stored_actions[$action_id]; |
|
506 | 506 | do_action( 'frm_trigger_' . $action->post_excerpt . '_action', $action, $entry, $form, $event ); |
507 | 507 | do_action( 'frm_trigger_' . $action->post_excerpt . '_' . $event . '_action', $action, $entry, $form ); |
508 | 508 | |
@@ -549,12 +549,12 @@ discard block |
||
549 | 549 | } |
550 | 550 | |
551 | 551 | public function register( $action_class ) { |
552 | - $this->actions[ $action_class ] = new $action_class(); |
|
552 | + $this->actions[$action_class] = new $action_class(); |
|
553 | 553 | } |
554 | 554 | |
555 | 555 | public function unregister( $action_class ) { |
556 | - if ( isset( $this->actions[ $action_class ] ) ) { |
|
557 | - unset( $this->actions[ $action_class ] ); |
|
556 | + if ( isset( $this->actions[$action_class] ) ) { |
|
557 | + unset( $this->actions[$action_class] ); |
|
558 | 558 | } |
559 | 559 | } |
560 | 560 | |
@@ -563,8 +563,8 @@ discard block |
||
563 | 563 | |
564 | 564 | foreach ( $keys as $key ) { |
565 | 565 | // don't register new action if old action with the same id is already registered |
566 | - if ( ! isset( $this->actions[ $key ] ) ) { |
|
567 | - $this->actions[ $key ]->_register(); |
|
566 | + if ( ! isset( $this->actions[$key] ) ) { |
|
567 | + $this->actions[$key]->_register(); |
|
568 | 568 | } |
569 | 569 | } |
570 | 570 | } |
@@ -234,7 +234,7 @@ discard block |
||
234 | 234 | $styles = $frm_style->get_all(); |
235 | 235 | |
236 | 236 | if ( is_numeric( $style ) ) { |
237 | - $style = $styles[ $style ]; |
|
237 | + $style = $styles[$style]; |
|
238 | 238 | } elseif ( 'default' == $style ) { |
239 | 239 | $style = $frm_style->get_default_style( $styles ); |
240 | 240 | } |
@@ -270,8 +270,8 @@ discard block |
||
270 | 270 | |
271 | 271 | $forms = FrmForm::get_published_forms(); |
272 | 272 | foreach ( $forms as $form ) { |
273 | - $new_style = ( isset( $_POST['style'] ) && isset( $_POST['style'][ $form->id ] ) ) ? sanitize_text_field( wp_unslash( $_POST['style'][ $form->id ] ) ) : ''; |
|
274 | - $previous_style = ( isset( $_POST['prev_style'] ) && isset( $_POST['prev_style'][ $form->id ] ) ) ? sanitize_text_field( wp_unslash( $_POST['prev_style'][ $form->id ] ) ) : ''; |
|
273 | + $new_style = ( isset( $_POST['style'] ) && isset( $_POST['style'][$form->id] ) ) ? sanitize_text_field( wp_unslash( $_POST['style'][$form->id] ) ) : ''; |
|
274 | + $previous_style = ( isset( $_POST['prev_style'] ) && isset( $_POST['prev_style'][$form->id] ) ) ? sanitize_text_field( wp_unslash( $_POST['prev_style'][$form->id] ) ) : ''; |
|
275 | 275 | if ( $new_style == $previous_style ) { |
276 | 276 | continue; |
277 | 277 | } |
@@ -530,8 +530,8 @@ discard block |
||
530 | 530 | */ |
531 | 531 | public static function get_style_val( $val, $form = 'default' ) { |
532 | 532 | $style = self::get_form_style( $form ); |
533 | - if ( $style && isset( $style->post_content[ $val ] ) ) { |
|
534 | - return $style->post_content[ $val ]; |
|
533 | + if ( $style && isset( $style->post_content[$val] ) ) { |
|
534 | + return $style->post_content[$val]; |
|
535 | 535 | } |
536 | 536 | } |
537 | 537 | |
@@ -550,7 +550,7 @@ discard block |
||
550 | 550 | } elseif ( 'alt_bg_color' == $name ) { |
551 | 551 | $setting = 'bg_color_active'; |
552 | 552 | } |
553 | - $default_styles[ $name ] = $style->post_content[ $setting ]; |
|
553 | + $default_styles[$name] = $style->post_content[$setting]; |
|
554 | 554 | unset( $name, $val ); |
555 | 555 | } |
556 | 556 |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | $new_instance = (array) $new_instance; |
54 | 54 | $this->id = $new_instance['ID']; |
55 | 55 | if ( $id != $this->id || ! $_POST || ! isset( $_POST['frm_style_setting'] ) ) { |
56 | - $all_instances[ $number ] = $new_instance; |
|
56 | + $all_instances[$number] = $new_instance; |
|
57 | 57 | |
58 | 58 | if ( $new_instance['menu_order'] && $_POST && empty( $_POST['prev_menu_order'] ) && isset( $_POST['frm_style_setting']['menu_order'] ) ) { |
59 | 59 | // this style was set to default, so remove default setting on previous default style |
@@ -81,22 +81,22 @@ discard block |
||
81 | 81 | $default_settings = $this->get_defaults(); |
82 | 82 | |
83 | 83 | foreach ( $default_settings as $setting => $default ) { |
84 | - if ( ! isset( $new_instance['post_content'][ $setting ] ) ) { |
|
85 | - $new_instance['post_content'][ $setting ] = $default; |
|
84 | + if ( ! isset( $new_instance['post_content'][$setting] ) ) { |
|
85 | + $new_instance['post_content'][$setting] = $default; |
|
86 | 86 | } |
87 | 87 | |
88 | 88 | if ( $this->is_color( $setting ) ) { |
89 | - $new_instance['post_content'][ $setting ] = str_replace( '#', '', $new_instance['post_content'][ $setting ] ); |
|
89 | + $new_instance['post_content'][$setting] = str_replace( '#', '', $new_instance['post_content'][$setting] ); |
|
90 | 90 | } elseif ( in_array( $setting, array( 'submit_style', 'important_style', 'auto_width' ) ) |
91 | - && ! isset( $new_instance['post_content'][ $setting ] ) |
|
91 | + && ! isset( $new_instance['post_content'][$setting] ) |
|
92 | 92 | ) { |
93 | - $new_instance['post_content'][ $setting ] = 0; |
|
93 | + $new_instance['post_content'][$setting] = 0; |
|
94 | 94 | } elseif ( $setting == 'font' ) { |
95 | - $new_instance['post_content'][ $setting ] = $this->force_balanced_quotation( $new_instance['post_content'][ $setting ] ); |
|
95 | + $new_instance['post_content'][$setting] = $this->force_balanced_quotation( $new_instance['post_content'][$setting] ); |
|
96 | 96 | } |
97 | 97 | } |
98 | 98 | |
99 | - $all_instances[ $number ] = $new_instance; |
|
99 | + $all_instances[$number] = $new_instance; |
|
100 | 100 | |
101 | 101 | $action_ids[] = $this->save( $new_instance ); |
102 | 102 | |
@@ -268,13 +268,13 @@ discard block |
||
268 | 268 | $style->post_content = $this->override_defaults( $style->post_content ); |
269 | 269 | $style->post_content = wp_parse_args( $style->post_content, $default_values ); |
270 | 270 | |
271 | - $styles[ $style->ID ] = $style; |
|
271 | + $styles[$style->ID] = $style; |
|
272 | 272 | } |
273 | 273 | |
274 | 274 | if ( ! $default_style ) { |
275 | 275 | $default_style = reset( $styles ); |
276 | 276 | |
277 | - $styles[ $default_style->ID ]->menu_order = 1; |
|
277 | + $styles[$default_style->ID]->menu_order = 1; |
|
278 | 278 | } |
279 | 279 | |
280 | 280 | return $styles; |
@@ -139,7 +139,7 @@ discard block |
||
139 | 139 | |
140 | 140 | foreach ( $pass_settings as $setting ) { |
141 | 141 | if ( isset( $settings_list->$setting ) ) { |
142 | - $settings[ $setting ] = $this->maybe_json( $settings_list->$setting ); |
|
142 | + $settings[$setting] = $this->maybe_json( $settings_list->$setting ); |
|
143 | 143 | } |
144 | 144 | } |
145 | 145 | |
@@ -171,7 +171,7 @@ discard block |
||
171 | 171 | |
172 | 172 | $message_settings = array(); |
173 | 173 | foreach ( $messages as $message ) { |
174 | - $message_settings[ $message ] = $settings_list->$message; |
|
174 | + $message_settings[$message] = $settings_list->$message; |
|
175 | 175 | } |
176 | 176 | |
177 | 177 | return $message_settings; |
@@ -189,7 +189,7 @@ discard block |
||
189 | 189 | |
190 | 190 | foreach ( $frm_roles as $frm_role => $frm_role_description ) { |
191 | 191 | if ( isset( $settings_list->$frm_role ) ) { |
192 | - $permissions[ $frm_role ] = $settings_list->$frm_role; |
|
192 | + $permissions[$frm_role] = $settings_list->$frm_role; |
|
193 | 193 | } |
194 | 194 | } |
195 | 195 | |
@@ -256,8 +256,8 @@ discard block |
||
256 | 256 | ); |
257 | 257 | |
258 | 258 | foreach ( $settings as $setting ) { |
259 | - if ( isset( $form->options[ $setting ] ) ) { |
|
260 | - $new_form[ $setting ] = $this->maybe_json( $form->options[ $setting ] ); |
|
259 | + if ( isset( $form->options[$setting] ) ) { |
|
260 | + $new_form[$setting] = $this->maybe_json( $form->options[$setting] ); |
|
261 | 261 | } |
262 | 262 | } |
263 | 263 | |
@@ -308,7 +308,7 @@ discard block |
||
308 | 308 | * @return array |
309 | 309 | */ |
310 | 310 | private function fields() { |
311 | - $args = array( |
|
311 | + $args = array( |
|
312 | 312 | 'limit' => 50, |
313 | 313 | 'order_by' => 'id DESC', |
314 | 314 | ); |
@@ -316,7 +316,7 @@ discard block |
||
316 | 316 | $fields = FrmDb::get_results( 'frm_fields', array(), 'form_id, name, type, field_options', $args ); |
317 | 317 | foreach ( $fields as $k => $field ) { |
318 | 318 | FrmAppHelper::unserialize_or_decode( $field->field_options ); |
319 | - $fields[ $k ]->field_options = json_encode( $field->field_options ); |
|
319 | + $fields[$k]->field_options = json_encode( $field->field_options ); |
|
320 | 320 | } |
321 | 321 | return $fields; |
322 | 322 | } |
@@ -329,7 +329,7 @@ discard block |
||
329 | 329 | |
330 | 330 | foreach ( (array) $fields as $f ) { |
331 | 331 | FrmAppHelper::unserialize_or_decode( $f->field_options ); |
332 | - $size = $f->field_options['size']; |
|
332 | + $size = $f->field_options['size']; |
|
333 | 333 | $this->maybe_convert_migrated_size( $size ); |
334 | 334 | |
335 | 335 | if ( $size === $f->field_options['size'] ) { |
@@ -392,7 +392,7 @@ discard block |
||
392 | 392 | continue; |
393 | 393 | } |
394 | 394 | |
395 | - $this->maybe_convert_migrated_size( $widgets[ $k ]['size'] ); |
|
395 | + $this->maybe_convert_migrated_size( $widgets[$k]['size'] ); |
|
396 | 396 | } |
397 | 397 | update_option( 'widget_frm_show_form', $widgets ); |
398 | 398 | } |
@@ -491,7 +491,7 @@ discard block |
||
491 | 491 | if ( ! is_array( $widget ) || ! isset( $widget['size'] ) ) { |
492 | 492 | continue; |
493 | 493 | } |
494 | - $this->convert_character_to_px( $widgets[ $k ]['size'] ); |
|
494 | + $this->convert_character_to_px( $widgets[$k]['size'] ); |
|
495 | 495 | } |
496 | 496 | update_option( 'widget_frm_show_form', $widgets ); |
497 | 497 | } |