Import any XML or CSV File to WordPress - Version 3.1.3

Version Description

  • fixed import pages
Download this release

Release Info

Developer soflyy
Plugin Icon 128x128 Import any XML or CSV File to WordPress
Version 3.1.3
Comparing to
See all releases

Code changes from version 3.1.2 to 3.1.3

Files changed (3) hide show
  1. models/import/record.php +2 -2
  2. plugin.php +2 -2
  3. readme.txt +5 -2
models/import/record.php CHANGED
@@ -486,10 +486,10 @@ class PMXI_Import_Record extends PMXI_Model_Record {
486
  $chunk == 1 and $logger and call_user_func($logger, __('Processing posts...', 'pmxi_plugin'));
487
 
488
  if ('post' == $this->options['type'] and '' != $this->options['custom_type']) {
489
- $post_type = ($this->options['custom_type'] == 'product' and class_exists('PMWI_Plugin')) ? $this->options['custom_type'] : 'post';
490
  } else {
491
  $post_type = $this->options['type'];
492
- }
493
 
494
  $addons = array();
495
  $addons_data = array();
486
  $chunk == 1 and $logger and call_user_func($logger, __('Processing posts...', 'pmxi_plugin'));
487
 
488
  if ('post' == $this->options['type'] and '' != $this->options['custom_type']) {
489
+ $post_type = ($this->options['custom_type'] == 'product' and class_exists('PMWI_Plugin')) ? $this->options['custom_type'] : (($this->options['custom_type'] == 'page') ? 'page' : 'post');
490
  } else {
491
  $post_type = $this->options['type'];
492
+ }
493
 
494
  $addons = array();
495
  $addons_data = array();
plugin.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP All Import
4
  Plugin URI: http://www.wpallimport.com/upgrade-to-pro?utm_source=wordpress.org&utm_medium=plugins-page&utm_campaign=free+plugin
5
  Description: The most powerful solution for importing XML and CSV files to WordPress. Create Posts and Pages with content from any XML or CSV file. A paid upgrade to WP All Import Pro is available for support and additional features.
6
- Version: 3.1.2
7
  Author: Soflyy
8
  */
9
 
@@ -28,7 +28,7 @@ define('PMXI_ROOT_URL', rtrim(plugin_dir_url(__FILE__), '/'));
28
  */
29
  define('PMXI_PREFIX', 'pmxi_');
30
 
31
- define('PMXI_VERSION', '3.1.2');
32
 
33
  define('PMXI_EDITION', 'free');
34
 
3
  Plugin Name: WP All Import
4
  Plugin URI: http://www.wpallimport.com/upgrade-to-pro?utm_source=wordpress.org&utm_medium=plugins-page&utm_campaign=free+plugin
5
  Description: The most powerful solution for importing XML and CSV files to WordPress. Create Posts and Pages with content from any XML or CSV file. A paid upgrade to WP All Import Pro is available for support and additional features.
6
+ Version: 3.1.3
7
  Author: Soflyy
8
  */
9
 
28
  */
29
  define('PMXI_PREFIX', 'pmxi_');
30
 
31
+ define('PMXI_VERSION', '3.1.3');
32
 
33
  define('PMXI_EDITION', 'free');
34
 
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: soflyy
3
  Tags: wordpress, xml, csv, datafeed, import
4
  Requires at least: 3.6.1
5
  Tested up to: 3.9
6
- Stable tag: 3.1.2
7
 
8
  WP All Import is an extremely powerful plugin that makes it easy to import any XML or CSV file to WordPress.
9
 
@@ -46,7 +46,7 @@ Need to [import XML and CSV to WooCommerce?](http://wordpress.org/plugins/woocom
46
  == Premium Support ==
47
  Upgrade to the professional edition of WP All Import for premium support.
48
 
49
- E-mail: support@soflyy.com
50
 
51
  == Import To WooCommerce ==
52
 
@@ -87,6 +87,9 @@ Does it work with special character encoding like Hebrew, Arabic, Chinese, etc?
87
 
88
  == Changelog ==
89
 
 
 
 
90
  = 3.1.2 =
91
  * added compatibility with WP 3.9
92
  * added autodetect session mode
3
  Tags: wordpress, xml, csv, datafeed, import
4
  Requires at least: 3.6.1
5
  Tested up to: 3.9
6
+ Stable tag: 3.1.3
7
 
8
  WP All Import is an extremely powerful plugin that makes it easy to import any XML or CSV file to WordPress.
9
 
46
  == Premium Support ==
47
  Upgrade to the professional edition of WP All Import for premium support.
48
 
49
+ E-mail: support@wpallimport.com
50
 
51
  == Import To WooCommerce ==
52
 
87
 
88
  == Changelog ==
89
 
90
+ = 3.1.3 =
91
+ * fixed import pages
92
+
93
  = 3.1.2 =
94
  * added compatibility with WP 3.9
95
  * added autodetect session mode