Ultimate CSV Importer - Version 5.0.1

Version Description

Download this release

Release Info

Developer smackcoders
Plugin Icon 128x128 Ultimate CSV Importer
Version 5.0.1
Comparing to
See all releases

Code changes from version 5.0.0 to 5.0.1

Readme.txt CHANGED
@@ -4,8 +4,8 @@ Donate link: https://www.paypal.me/smackcoders
4
  Tags: csv importer, import csv, import woocommerce, import marketpress, import seo by yoast, import all in one seo, scheduled import, import remote file, export woocommerce, import types fields, import acf fields, import inline images
5
  Requires at least: 4.0
6
  Tested up to: 4.7
7
- Stable tag: 5.0
8
- Version: 5.0
9
  Author: smackcoders
10
  Author URI: http://profiles.wordpress.org/smackcoders/
11
  License: GPLv2 or later
@@ -106,6 +106,8 @@ This will solve your issue or get support from hosting if you didn’t have suff
106
  For more FAQ, you can refer [here](https://goo.gl/eH7BHT).
107
 
108
  == Changelog ==
 
 
109
  = 5.0 =
110
  * Added: Compatibility for WordPress 4.7 and PHP 7.
111
  * Added: Option to replace imported CSV file value with static and dynamic value.
@@ -395,6 +397,8 @@ For more FAQ, you can refer [here](https://goo.gl/eH7BHT).
395
  * Initial release version. Tested and found works well without any issues.
396
 
397
  == Upgrade Notice ==
 
 
398
  = 5.0 =
399
  * Upgrade now for high speed import, WP Customer Review add-on support, WordPress 4.7 Compatibility and much more.
400
  = 3.11.0 =
@@ -520,4 +524,4 @@ For more FAQ, you can refer [here](https://goo.gl/eH7BHT).
520
  = 1.0.1 =
521
  * Added features to import multiple tags and categories with different delimiters.
522
  = 1.0.0 =
523
- * Initial release of plugin.
4
  Tags: csv importer, import csv, import woocommerce, import marketpress, import seo by yoast, import all in one seo, scheduled import, import remote file, export woocommerce, import types fields, import acf fields, import inline images
5
  Requires at least: 4.0
6
  Tested up to: 4.7
7
+ Stable tag: 5.0.1
8
+ Version: 5.0.1
9
  Author: smackcoders
10
  Author URI: http://profiles.wordpress.org/smackcoders/
11
  License: GPLv2 or later
106
  For more FAQ, you can refer [here](https://goo.gl/eH7BHT).
107
 
108
  == Changelog ==
109
+ = 5.0.1 =
110
+ * Fixed: WP Customer Reviews import feature.
111
  = 5.0 =
112
  * Added: Compatibility for WordPress 4.7 and PHP 7.
113
  * Added: Option to replace imported CSV file value with static and dynamic value.
397
  * Initial release version. Tested and found works well without any issues.
398
 
399
  == Upgrade Notice ==
400
+ = 5.0.1 =
401
+ * Upgrade now to get the fix for WP Customer Review add-on support.
402
  = 5.0 =
403
  * Upgrade now for high speed import, WP Customer Review add-on support, WordPress 4.7 Compatibility and much more.
404
  = 3.11.0 =
524
  = 1.0.1 =
525
  * Added features to import multiple tags and categories with different delimiters.
526
  = 1.0.0 =
527
+ * Initial release of plugin.
admin/class-uci-admin.php CHANGED
@@ -260,6 +260,9 @@ class SmackUCIAdmin extends SmackUCIHelper {
260
  case 'CustomerReviews':
261
  $widgets = array('Core Fields');
262
  break;
 
 
 
263
  }
264
  return $widgets;
265
  }
260
  case 'CustomerReviews':
261
  $widgets = array('Core Fields');
262
  break;
263
+ default:
264
+ $widgets = array('Core Fields');
265
+ break;
266
  }
267
  return $widgets;
268
  }
includes/class-uci-helper.php CHANGED
@@ -669,6 +669,10 @@ class SmackUCIHelper {
669
  $importas[$value] = $value;
670
  }
671
  }
 
 
 
 
672
 
673
  return $importas;
674
  }
@@ -688,10 +692,6 @@ class SmackUCIHelper {
688
  $custompost[$value] = $value;
689
  }
690
  }
691
- # Added support for Customer Reviews plugin
692
- if(in_array('wp-customer-reviews/wp-customer-reviews-3.php', $this->get_active_plugins()) || in_array('wp-customer-reviews/wp-customer-reviews.php', $this->get_active_plugins())) {
693
- $importas['Customer Reviews'] = 'CustomerReviews';
694
- }
695
 
696
  return $custompost;
697
  }
669
  $importas[$value] = $value;
670
  }
671
  }
672
+ # Added support for Customer Reviews plugin
673
+ if(in_array('wp-customer-reviews/wp-customer-reviews-3.php', $this->get_active_plugins()) || in_array('wp-customer-reviews/wp-customer-reviews.php', $this->get_active_plugins())) {
674
+ $importas['Customer Reviews'] = 'CustomerReviews';
675
+ }
676
 
677
  return $importas;
678
  }
692
  $custompost[$value] = $value;
693
  }
694
  }
 
 
 
 
695
 
696
  return $custompost;
697
  }
index.php CHANGED
@@ -1,8 +1,8 @@
1
  <?php
2
  /******************************
3
  * Plugin Name: WP Ultimate CSV Importer
4
- * Description: A plugin that helps to import the data's from a CSV file.
5
- * Version: 5.0
6
  * Author: smackcoders
7
  * Text Domain: wp-ultimate-csv-importer
8
  * Domain Path: /languages
@@ -58,7 +58,7 @@ if ( ! class_exists( 'SM_WPUltimateCSVImporter' ) ) :
58
  */
59
  class SM_WPUltimateCSVImporter {
60
 
61
- public $version = '5.0';
62
 
63
  /**
64
  * The single instance of the class.
@@ -322,4 +322,4 @@ function SmackUCI() {
322
  return SM_WPUltimateCSVImporter::instance();
323
  }
324
  // Global for backwards compatibility.
325
- $GLOBALS['wp_ultimate_csv_importer'] = SmackUCI();
1
  <?php
2
  /******************************
3
  * Plugin Name: WP Ultimate CSV Importer
4
+ * Description: Seamlessly create posts, custom posts, pages, media, SEO and more from your CSV data with ease.
5
+ * Version: 5.0.1
6
  * Author: smackcoders
7
  * Text Domain: wp-ultimate-csv-importer
8
  * Domain Path: /languages
58
  */
59
  class SM_WPUltimateCSVImporter {
60
 
61
+ public $version = '5.0.1';
62
 
63
  /**
64
  * The single instance of the class.
322
  return SM_WPUltimateCSVImporter::instance();
323
  }
324
  // Global for backwards compatibility.
325
+ $GLOBALS['wp_ultimate_csv_importer'] = SmackUCI();