PluginProbe
Customify / 2.5.1
Customify v2.5.1
2.10.9 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.7.1 1.3.0 1.3.1 1.4.0 1.4.1 1.4.2 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.6.0 1.6.0.1 1.6.5 1.7.0 1.7.1 All 77 releases
← All changes | features/class-Customify_Importer.php +4 -8 1.5.02.5.1 View file →
@@ -143,9 +143,9 @@
143 143 } else {
144 144 wp_send_json_error( 'i don\'t evan kno\'' );
145 145 }
146 146
147 - $data = $this->process_remote_data( $data );
147 + $this->process_remote_data( $data );
148 148 break;
149 149 }
150 150
151 151 case 'recall' : {
@@ -192,9 +192,9 @@
192 192 $already_imported = true;
193 193 continue;
194 194 }
195 195
196 - $updated = update_option( $step_id, $value );
196 + update_option( $step_id, $value );
197 197 }
198 198 }
199 199
200 200 if ( $already_imported ) {
@@ -381,10 +381,8 @@
381 381 if ( isset( $data['widgets'] ) && ! empty( $data['widgets'] ) ) {
382 382 $this->add_step( 'widgets', 'widgets', $data['widgets'] );
383 383 }
384 384
385 - if ( isset( $data['widgets'] ) && ! empty( $data['widgets'] ) ) {}
386 -
387 385 // select what you can get from the export
388 386 if ( isset( $data['taxonomies'] ) && ! empty( $data['taxonomies'] ) ) {
389 387
390 388 foreach ( $data['taxonomies'] as $tax => $term_args ) {
@@ -470,13 +468,11 @@
470 468
471 469 $options = PixCustomifyPlugin()->get_options_configs();
472 470
473 471 if ( ! isset( $options[ $option_key ] ) ) {
474 - wp_send_json_error( 'inexistent key' );
472 + wp_send_json_error( 'nonexistent key' );
475 473 }
476 474
477 - $option_config = $options[ $option_key ];
478 -
479 475 if ( ! isset( $options[ $option_key ]['imports'] ) ) {
480 476 wp_send_json_error( 'where is imports????' );
481 477 }
482 478
@@ -617,5 +613,5 @@
617 613 $new_widget_name = $widget_name . '-' . $widget_index;
618 614
619 615 return $new_widget_name;
620 616 }
621 -}
617 +}