Ultimate CSV Importer - Version 3.7.2

Version Description

Download this release

Release Info

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

Code changes from version 3.7.1 to 3.7.2

Readme.txt CHANGED
@@ -1,21 +1,20 @@
1
- === WP Ultimate CSV Importer Plugin ===
2
  Contributors: smackcoders
3
  Donate link: http://www.smackcoders.com/donate.html
4
- Tags: batch, csv, excel, import, spreadsheet, autoblog, Autoblogger, csvimporter, data, dataimport, importer, wpcsvimporter, wpimporter, acf, auto blog, csv import, csv to post, data import, Easy CSV Importer, eci, import plugin, admin, user, users, Advanced CSV Import, Advanced CSV Importer, affiliate, amazon, author, automatic, blog, bulk, bulk edit, bulk editor, categories, comments, content, csv file, csv format, csv importer, custom post, e-commerce, free, images, language, manage, media, meta, multisite, News, page, photos, pictures, plugin, Post, seo, shop, shortcode, tags, Taxonomy, text, title, video, eshop, woocommerce, wordpress, xml, youtube, export
5
- Requires at least: 3.9
6
- Tested up to: 4.1.1
7
- Stable tag: 3.7.1
8
- Version: 3.7.1
9
  Author: smackcoders
10
  Author URI: http://profiles.wordpress.org/smackcoders/
11
 
12
  License: GPLv2 or later
13
 
14
- Advanced CSV Importer plugin to import/export posts, pages, eshop products, custom posts with custom fields with few simple clicks
15
 
16
  == Description ==
17
-
18
- Wordpress Ultimate CSV Importer V3.7.1 is available as live demo for users to test drive all new features, improvements and changes from http://www.wpultimatecsvimporter.com/. Users can get product manual and sample csv files etc., from - http://www.wpultimatecsvimporter.com/
19
 
20
  ** New Features of Wordpress Ultimate CSV Importer Pro V4.0 **
21
 
@@ -32,15 +31,16 @@ Wordpress Ultimate CSV Importer V3.7.1 is available as live demo for users to te
32
  * Mapping template feature with edit option.
33
  * Auto mapping and specific column update in Update feature.
34
 
35
- ** Now stable version 3.7.1 available to download with hotlinked featured image fix. Visit [www.wpultimatecsvimporter.com](http://www.wpultimatecsvimporter.com) for more news and future plans.
36
 
37
- WP Ultimate CSV Importer Plugin proven much effective advanced CSV File Importer With Ultimate User Friendly Features. It is much easy now even for newbies to import any csv file as any wordpress post type and associated fields by simple mapping feature. Now import any CSV file as thousands of post, page and custom post types. This is admin side free plugin helps you in bulk edit, create and import posts type for your blog or site.
38
 
39
  = Video Walkthrough =
40
 
41
  <p>https://www.youtube.com/watch?v=Guv5zR7fgW0&list=PL2k3Ck1bFtbQqFhOK7g08kxENI4qQkmC</p>
42
 
43
  = Highlights =
 
44
  * New Terminate & Continue feature is added.
45
  * Complete export feature with improved filters
46
  * Import external/internal images in line to any posts
@@ -197,6 +197,10 @@ This will solve your issue or get support from hosting if you dint have sufficie
197
 
198
  == Changelog ==
199
 
 
 
 
 
200
  = 3.7.1 =
201
  * Added: Security fix for curl.
202
  * Added: Security fix for session status.
@@ -438,11 +442,14 @@ This will solve your issue or get support from hosting if you dint have sufficie
438
 
439
  == Upgrade Notice ==
440
 
 
 
 
441
  = 3.7.1 =
442
- *Upgrade now for security fix.
443
 
444
  = 3.7 =
445
- * Upgrage now for minor bug fixes.
446
 
447
  = 3.6.78 =
448
  * Upgrade now for security fix.
1
+ === Import a CSV with Ultimate CSV Importer ===
2
  Contributors: smackcoders
3
  Donate link: http://www.smackcoders.com/donate.html
4
+ Tags: wp all import, batch, csv, excel, import, spreadsheet, autoblog, Autoblogger, csvimporter, data, dataimport, importer, wpcsvimporter, wpimporter, acf, auto blog, csv import, csv to post, data import, Easy CSV Importer, eci, import plugin, admin, user, users, Advanced CSV Import, Advanced CSV Importer, affiliate, amazon, author, automatic, blog, bulk, bulk edit, bulk editor, categories, comments, content, csv file, csv format, csv importer, custom post, e-commerce, free, images, language, manage, media, meta, multisite, News, page, photos, pictures, plugin, Post, seo, shop, shortcode, tags, Taxonomy, text, title, video, eshop, woocommerce, wordpress, xml, youtube, export
5
+ Requires at least: 4.1
6
+ Tested up to: 4.2.1
7
+ Stable tag: 3.7.2
8
+ Version: 3.7.2
9
  Author: smackcoders
10
  Author URI: http://profiles.wordpress.org/smackcoders/
11
 
12
  License: GPLv2 or later
13
 
14
+ Import a CSV with Ultimate CSV Importer as posts, pages, eshop products, custom posts with custom fields in few simple clicks
15
 
16
  == Description ==
17
+ Import a CSV as wordpress posts made very simple and easy even for novice users as in few clicks and 3 simple steps with Ultimate CSV Importer plugin. Wordpress Ultimate CSV Importer V3.7.2 is updated with major issue fix and 4.2.1 compatibility. Users can get product manual and sample csv files etc., from - http://www.wpultimatecsvimporter.com/
 
18
 
19
  ** New Features of Wordpress Ultimate CSV Importer Pro V4.0 **
20
 
31
  * Mapping template feature with edit option.
32
  * Auto mapping and specific column update in Update feature.
33
 
34
+ ** Now stable version 3.7.2 available to download with hot linked featured image fix. Visit [www.wpultimatecsvimporter.com](http://www.wpultimatecsvimporter.com) for more news and future plans.
35
 
36
+ WP Ultimate CSV Importer Plugin proven much effective advanced CSV File Importer With Ultimate User Friendly Features. It is much easy now even for newbies to import csv file exported from any tool, app or software. Import as any wordpress post type and associated fields by simple mapping feature. Now import any CSV file as thousands of post, page and custom post types. This is admin side free plugin helps you in bulk edit, create and import posts type for your blog or site.
37
 
38
  = Video Walkthrough =
39
 
40
  <p>https://www.youtube.com/watch?v=Guv5zR7fgW0&list=PL2k3Ck1bFtbQqFhOK7g08kxENI4qQkmC</p>
41
 
42
  = Highlights =
43
+ * Import CSV from any source as wordpress posts
44
  * New Terminate & Continue feature is added.
45
  * Complete export feature with improved filters
46
  * Import external/internal images in line to any posts
197
 
198
  == Changelog ==
199
 
200
+ = 3.7.2 =
201
+ * Added: wordpress 4.2 and 4.2.1 compatibility.
202
+ * Fixed: Blank page conflict issue
203
+
204
  = 3.7.1 =
205
  * Added: Security fix for curl.
206
  * Added: Security fix for session status.
442
 
443
  == Upgrade Notice ==
444
 
445
+ = 3.7.2 =
446
+ * Important Upgrade for wordpress 4.2 and above
447
+
448
  = 3.7.1 =
449
+ * Upgrade now for security fix.
450
 
451
  = 3.7 =
452
+ * Upgrade now for minor bug fixes.
453
 
454
  = 3.6.78 =
455
  * Upgrade now for security fix.
includes/WPImporter_includes_helper.php CHANGED
@@ -1148,6 +1148,8 @@ class CallWPImporterObj extends WPImporter_includes_helper
1148
  if(!function_exists('session_status')){
1149
  if(session_id() == '')
1150
  return $msg;
 
 
1151
  }
1152
  else if(session_status() != PHP_SESSION_ACTIVE)
1153
  return $msg;
1148
  if(!function_exists('session_status')){
1149
  if(session_id() == '')
1150
  return $msg;
1151
+ else
1152
+ return 'true';
1153
  }
1154
  else if(session_status() != PHP_SESSION_ACTIVE)
1155
  return $msg;
index.php CHANGED
@@ -2,7 +2,7 @@
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: 3.7.1
6
  * Author: smackcoders.com
7
  * Plugin URI: http://www.smackcoders.com/wp-ultimate-csv-importer-pro.html
8
  * Author URI: http://www.smackcoders.com/wp-ultimate-csv-importer-pro.html
@@ -75,7 +75,7 @@ define('WP_CONST_ULTIMATE_CSV_IMP_URL', 'http://www.smackcoders.com/wp-ultimate-
75
  define('WP_CONST_ULTIMATE_CSV_IMP_NAME', 'WP Ultimate CSV Importer');
76
  define('WP_CONST_ULTIMATE_CSV_IMP_SLUG', 'wp-ultimate-csv-importer');
77
  define('WP_CONST_ULTIMATE_CSV_IMP_SETTINGS', 'WP Ultimate CSV Importer');
78
- define('WP_CONST_ULTIMATE_CSV_IMP_VERSION', '3.7.1');
79
  define('WP_CONST_ULTIMATE_CSV_IMP_DIR', WP_PLUGIN_URL . '/' . WP_CONST_ULTIMATE_CSV_IMP_SLUG . '/');
80
  define('WP_CONST_ULTIMATE_CSV_IMP_DIRECTORY', plugin_dir_path(__FILE__));
81
  define('WP_CSVIMP_PLUGIN_BASE', WP_CONST_ULTIMATE_CSV_IMP_DIRECTORY);
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: 3.7.2
6
  * Author: smackcoders.com
7
  * Plugin URI: http://www.smackcoders.com/wp-ultimate-csv-importer-pro.html
8
  * Author URI: http://www.smackcoders.com/wp-ultimate-csv-importer-pro.html
75
  define('WP_CONST_ULTIMATE_CSV_IMP_NAME', 'WP Ultimate CSV Importer');
76
  define('WP_CONST_ULTIMATE_CSV_IMP_SLUG', 'wp-ultimate-csv-importer');
77
  define('WP_CONST_ULTIMATE_CSV_IMP_SETTINGS', 'WP Ultimate CSV Importer');
78
+ define('WP_CONST_ULTIMATE_CSV_IMP_VERSION', '3.7.2');
79
  define('WP_CONST_ULTIMATE_CSV_IMP_DIR', WP_PLUGIN_URL . '/' . WP_CONST_ULTIMATE_CSV_IMP_SLUG . '/');
80
  define('WP_CONST_ULTIMATE_CSV_IMP_DIRECTORY', plugin_dir_path(__FILE__));
81
  define('WP_CSVIMP_PLUGIN_BASE', WP_CONST_ULTIMATE_CSV_IMP_DIRECTORY);
lib/jquery-plugins/UploadHandler.php CHANGED
@@ -1087,9 +1087,15 @@ class UploadHandler
1087
  $impCheckobj = CallWPImporterObj::checkSecurity();
1088
  if($impCheckobj != 'true')
1089
  die($impCheckobj);
 
 
 
 
 
 
 
 
1090
 
1091
- if($post_url != $_SERVER['HTTP_REFERER'])
1092
- die('Your requested url were wrong! Please contact your admin.');
1093
  $file = new stdClass();
1094
  $file->name = $this->get_file_name($name, $type, $index, $content_range);
1095
  $file->size = $this->fix_integer_overflow(intval($size));
1087
  $impCheckobj = CallWPImporterObj::checkSecurity();
1088
  if($impCheckobj != 'true')
1089
  die($impCheckobj);
1090
+ if($_SERVER['HTTP_REFERER'] != urldecode($_SERVER['HTTP_REFERER'])){
1091
+ if($post_url != urldecode($_SERVER['HTTP_REFERER']))
1092
+ die('Your requested url were wrong! Please contact your admin.');
1093
+ }
1094
+ else {
1095
+ if($post_url != $_SERVER['HTTP_REFERER'] )
1096
+ die('Your requested url were wrong! Please contact your admin.');
1097
+ }
1098
 
 
 
1099
  $file = new stdClass();
1100
  $file->name = $this->get_file_name($name, $type, $index, $content_range);
1101
  $file->size = $this->fix_integer_overflow(intval($size));
templates/import.php CHANGED
@@ -34,7 +34,7 @@
34
  * Notices must display the words
35
  * "Copyright Smackcoders. 2014. All rights reserved".
36
  ********************************************************************************/
37
- include '../includes/WPImporter_includes_helper.php';
38
  $impCheckobj = CallWPImporterObj::checkSecurity();
39
  if($impCheckobj != 'true')
40
  die($impCheckobj);
34
  * Notices must display the words
35
  * "Copyright Smackcoders. 2014. All rights reserved".
36
  ********************************************************************************/
37
+ //require_once(WP_CONST_ULTIMATE_CSV_IMP_DIR.'includes/WPImporter_includes_helper.php');
38
  $impCheckobj = CallWPImporterObj::checkSecurity();
39
  if($impCheckobj != 'true')
40
  die($impCheckobj);
templates/menu.php CHANGED
@@ -5,7 +5,7 @@
5
  * Proprietary and confidential
6
  * You can contact Smackcoders at email address info@smackcoders.com.
7
  *******************************************************************************************/
8
- include '../includes/WPImporter_includes_helper.php';
9
  $impCheckobj = CallWPImporterObj::checkSecurity();
10
  if($impCheckobj != 'true')
11
  die($impCheckobj);
5
  * Proprietary and confidential
6
  * You can contact Smackcoders at email address info@smackcoders.com.
7
  *******************************************************************************************/
8
+ //require_once(WP_CONST_ULTIMATE_CSV_IMP_DIR.'includes/WPImporter_includes_helper.php');
9
  $impCheckobj = CallWPImporterObj::checkSecurity();
10
  if($impCheckobj != 'true')
11
  die($impCheckobj);
templates/readfile.php CHANGED
@@ -41,12 +41,20 @@ if($impCheckobj != 'true')
41
  die($impCheckobj);
42
 
43
  require_once('../../../../wp-load.php');
 
44
  $requested_module = "";
45
  if(isset($requested_module))
46
  $requested_module = $_REQUEST['checkmodule'];
47
  $post_url = admin_url() . 'admin.php?page=' . WP_CONST_ULTIMATE_CSV_IMP_SLUG . '/index.php&__module=' . $requested_module . '&step=mapping_settings';
48
- if($post_url != $_SERVER['HTTP_REFERER'])
49
- die('Your requested url were wrong! Please contact your admin.');
 
 
 
 
 
 
 
50
  $impObj = CallWPImporterObj::getInstance();
51
  $filename = $_POST['file_name'];
52
  $delimeter = '';
41
  die($impCheckobj);
42
 
43
  require_once('../../../../wp-load.php');
44
+
45
  $requested_module = "";
46
  if(isset($requested_module))
47
  $requested_module = $_REQUEST['checkmodule'];
48
  $post_url = admin_url() . 'admin.php?page=' . WP_CONST_ULTIMATE_CSV_IMP_SLUG . '/index.php&__module=' . $requested_module . '&step=mapping_settings';
49
+ if($_SERVER['HTTP_REFERER'] != urldecode($_SERVER['HTTP_REFERER'])){
50
+ if($post_url != urldecode($_SERVER['HTTP_REFERER']))
51
+ die('Your requested url were wrong! Please contact your admin.');
52
+ }
53
+ else {
54
+ if($post_url != $_SERVER['HTTP_REFERER'] )
55
+ die('Your requested url were wrong! Please contact your admin.');
56
+ }
57
+
58
  $impObj = CallWPImporterObj::getInstance();
59
  $filename = $_POST['file_name'];
60
  $delimeter = '';
templates/versioncheck.php CHANGED
@@ -34,7 +34,7 @@
34
  * Notices must display the words
35
  * "Copyright Smackcoders. 2014. All rights reserved".
36
  ********************************************************************************/
37
- include '../includes/WPImporter_includes_helper.php';
38
  $impCheckobj = CallWPImporterObj::checkSecurity();
39
  if($impCheckobj != 'true')
40
  die($impCheckobj);
34
  * Notices must display the words
35
  * "Copyright Smackcoders. 2014. All rights reserved".
36
  ********************************************************************************/
37
+ //require_once(WP_CONST_ULTIMATE_CSV_IMP_DIR.'includes/WPImporter_includes_helper.php');
38
  $impCheckobj = CallWPImporterObj::checkSecurity();
39
  if($impCheckobj != 'true')
40
  die($impCheckobj);