Import any XML or CSV File to WordPress - Version 3.7.1

Version Description

  • bug fix: unable to install on Windows environments
  • improvement: increased timer accuracy on import processing page
Download this release

Release Info

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

Code changes from version 3.7.0 to 3.7.1

{aux → acc}/breakdance-logo-black.png RENAMED
File without changes
{aux → acc}/breakdance-promo.php RENAMED
@@ -11,7 +11,7 @@ function echoPromoCard() {
11
  <div class='wpai-breakdance-promo-card'>
12
 
13
  <div class='promo-breakdance-logo-wrapper'>
14
- <a href='https://breakdance.com/' target='_blank'><img class='promo-breakdance-logo' width='120' src='<?php echo WP_ALL_IMPORT_ROOT_URL . '/aux/breakdance-logo-black.png'; ?>' /></a>
15
  </div>
16
 
17
  <div class='promo-heading'>The Ultimate Visual Website Builder for WordPress</div>
11
  <div class='wpai-breakdance-promo-card'>
12
 
13
  <div class='promo-breakdance-logo-wrapper'>
14
+ <a href='https://breakdance.com/' target='_blank'><img class='promo-breakdance-logo' width='120' src='<?php echo WP_ALL_IMPORT_ROOT_URL . '/acc/breakdance-logo-black.png'; ?>' /></a>
15
  </div>
16
 
17
  <div class='promo-heading'>The Ultimate Visual Website Builder for WordPress</div>
{aux → acc}/promo-card-styles.css RENAMED
File without changes
plugin.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP All Import
4
  Plugin URI: http://www.wpallimport.com/wordpress-xml-csv-import/?utm_source=import-plugin-free&utm_medium=wp-plugins-page&utm_campaign=upgrade-to-pro
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.7.0
7
  Author: Soflyy
8
  */
9
 
@@ -25,7 +25,7 @@ define('WP_ALL_IMPORT_ROOT_URL', rtrim(plugin_dir_url(__FILE__), '/'));
25
  */
26
  define('WP_ALL_IMPORT_PREFIX', 'pmxi_');
27
 
28
- define('PMXI_VERSION', '3.7.0');
29
 
30
  define('PMXI_EDITION', 'free');
31
 
@@ -243,8 +243,8 @@ final class PMXI_Plugin {
243
  // register autoloading method
244
  spl_autoload_register(array($this, 'autoload'));
245
 
246
- // require aux code
247
- if (is_dir(self::ROOT_DIR . '/aux')) foreach (PMXI_Helper::safe_glob(self::ROOT_DIR . '/aux/*.php', PMXI_Helper::GLOB_RECURSE | PMXI_Helper::GLOB_PATH) as $filePath) {
248
  require_once $filePath;
249
  }
250
 
3
  Plugin Name: WP All Import
4
  Plugin URI: http://www.wpallimport.com/wordpress-xml-csv-import/?utm_source=import-plugin-free&utm_medium=wp-plugins-page&utm_campaign=upgrade-to-pro
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.7.1
7
  Author: Soflyy
8
  */
9
 
25
  */
26
  define('WP_ALL_IMPORT_PREFIX', 'pmxi_');
27
 
28
+ define('PMXI_VERSION', '3.7.1');
29
 
30
  define('PMXI_EDITION', 'free');
31
 
243
  // register autoloading method
244
  spl_autoload_register(array($this, 'autoload'));
245
 
246
+ // require acc code
247
+ if (is_dir(self::ROOT_DIR . '/acc')) foreach (PMXI_Helper::safe_glob(self::ROOT_DIR . '/acc/*.php', PMXI_Helper::GLOB_RECURSE | PMXI_Helper::GLOB_PATH) as $filePath) {
248
  require_once $filePath;
249
  }
250
 
readme.txt CHANGED
@@ -1,8 +1,8 @@
1
  === Import any XML or CSV File to WordPress ===
2
  Contributors: soflyy, wpallimport
3
  Requires at least: 4.1
4
- Tested up to: 6.0
5
- Stable tag: 3.7.0
6
  Tags: wordpress csv import, wordpress xml import, xml, csv, datafeed, import, migrate, import csv to wordpress, import xml to wordpress, advanced xml import, advanced csv import, bulk csv import, bulk xml import, bulk data import, xml to custom post type, csv to custom post type, woocommerce csv import, woocommerce xml import, csv import, import csv, xml import, import xml, csv importer
7
 
8
  WP All Import is an extremely powerful importer that makes it easy to import any XML or CSV file to WordPress.
@@ -113,6 +113,10 @@ Does it work with special character encoding like Hebrew, Arabic, Chinese, etc?
113
 
114
  == Changelog ==
115
 
 
 
 
 
116
  = 3.7.0 =
117
  * improvement: UI styling improvements
118
 
1
  === Import any XML or CSV File to WordPress ===
2
  Contributors: soflyy, wpallimport
3
  Requires at least: 4.1
4
+ Tested up to: 6.1
5
+ Stable tag: 3.7.1
6
  Tags: wordpress csv import, wordpress xml import, xml, csv, datafeed, import, migrate, import csv to wordpress, import xml to wordpress, advanced xml import, advanced csv import, bulk csv import, bulk xml import, bulk data import, xml to custom post type, csv to custom post type, woocommerce csv import, woocommerce xml import, csv import, import csv, xml import, import xml, csv importer
7
 
8
  WP All Import is an extremely powerful importer that makes it easy to import any XML or CSV file to WordPress.
113
 
114
  == Changelog ==
115
 
116
+ = 3.7.1 =
117
+ * bug fix: unable to install on Windows environments
118
+ * improvement: increased timer accuracy on import processing page
119
+
120
  = 3.7.0 =
121
  * improvement: UI styling improvements
122
 
views/admin/import/process.php CHANGED
@@ -211,15 +211,31 @@
211
 
212
  $('#status').each(function () {
213
 
214
- var then = $('#then');
215
- start_date = moment().startOf('day');
216
- update = function(){
217
- var duration = moment.duration({'seconds' : 1});
218
- start_date.add(duration);
219
-
220
- if ($('#process_notice').is(':visible') && ! $('.wpallimport-modal-message').is(':visible')){
221
- then.html(start_date.format('HH:mm:ss'));
222
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
223
  };
224
  update();
225
  setInterval(update, 1000);
211
 
212
  $('#status').each(function () {
213
 
214
+ var then = $('#then');
215
+ let start_date = new Date().getTime(),
216
+ elapsed = '0.0';
217
+
218
+ update = function(){
219
+
220
+ let offset = new Date().getTime() - start_date;
221
+
222
+ elapsed = Math.floor(offset / 100) / 10;
223
+
224
+ // Format seconds into elapsed time string.
225
+ let fm = [
226
+ /*Math.floor(elapsed / 60 / 60 / 24), // DAYS*/
227
+ Math.floor(elapsed / 60 / 60) % 24, // HOURS
228
+ Math.floor(elapsed / 60) % 60, // MINUTES
229
+ Math.floor(elapsed % 60) // SECONDS
230
+ ];
231
+ elapsed = $.map(fm, function(v, i) { return ((v < 10) ? '0' : '') + v; }).join(':');
232
+
233
+ /*var duration = wpai_moment.duration({'seconds' : 1});
234
+ start_date.add(duration);*/
235
+
236
+ if ($('#process_notice').is(':visible') && ! $('.wpallimport-modal-message').is(':visible')){
237
+ then.html(elapsed);
238
+ }
239
  };
240
  update();
241
  setInterval(update, 1000);