Import any XML or CSV File to WordPress - Version 3.1.4

Version Description

  • changed support email
Download this release

Release Info

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

Code changes from version 3.1.3 to 3.1.4

actions/admin_notices.php CHANGED
@@ -21,7 +21,7 @@ function pmxi_admin_notices() {
21
  ?>
22
  <div class="updated"><p>
23
  <?php printf(
24
- __('Welcome to WP All Import. We hope you like it. Please send all support requests and feedback to <a href="mailto:support@soflyy.com">support@soflyy.com</a>.<br/><br/><a href="javascript:void(0);" id="dismiss">dismiss</a>', 'pmxi_plugin')
25
  ) ?>
26
  </p></div>
27
  <?php
21
  ?>
22
  <div class="updated"><p>
23
  <?php printf(
24
+ __('Welcome to WP All Import. We hope you like it. Please send all support requests and feedback to <a href="mailto:support@wpallimport.com">support@wpallimport.com</a>.<br/><br/><a href="javascript:void(0);" id="dismiss">dismiss</a>', 'pmxi_plugin')
25
  ) ?>
26
  </p></div>
27
  <?php
controllers/admin/import.php CHANGED
@@ -356,14 +356,14 @@ class PMXI_Admin_Import extends PMXI_Controller_Admin {
356
 
357
  if (empty($xml))
358
  {
359
- $this->errors->add('form-validation', __('Please confirm you are importing a valid feed.<br/> Often, feed providers distribute feeds with invalid data, improperly wrapped HTML, line breaks where they should not be, faulty character encodings, syntax errors in the XML, and other issues.<br/><br/>WP All Import has checks in place to automatically fix some of the most common problems, but we can’t catch every single one.<br/><br/>It is also possible that there is a bug in WP All Import, and the problem is not with the feed.<br/><br/>If you need assistance, please contact support – <a href="mailto:support@soflyy.com">support@soflyy.com</a> – with your XML/CSV file. We will identify the problem and release a bug fix if necessary.', 'pmxi_plugin'));
360
  }
361
  else{
362
  wp_redirect(add_query_arg('action', 'element', $this->baseUrl)); die();
363
  }
364
 
365
  } else {
366
- $this->errors->add('form-validation', __('Please confirm you are importing a valid feed.<br/> Often, feed providers distribute feeds with invalid data, improperly wrapped HTML, line breaks where they should not be, faulty character encodings, syntax errors in the XML, and other issues.<br/><br/>WP All Import has checks in place to automatically fix some of the most common problems, but we can’t catch every single one.<br/><br/>It is also possible that there is a bug in WP All Import, and the problem is not with the feed.<br/><br/>If you need assistance, please contact support – <a href="mailto:support@soflyy.com">support@soflyy.com</a> – with your XML/CSV file. We will identify the problem and release a bug fix if necessary.', 'pmxi_plugin'));
367
  }
368
 
369
  do_action("pmxi_get_file", $filePath);
@@ -1657,7 +1657,7 @@ COMPLETE;
1657
  }
1658
  $is_short = strlen($text) <= 40;
1659
  $text = esc_html($text);
1660
- $text = preg_replace('%(?<!\s)\b(?!\s|\W[\w\s])|\w{20}%', '$0&#8203;', $text); // put explicit breaks for xml content to wrap
1661
  echo '<div class="xml-content textonly' . ($is_short ? ' short' : '') . ($is_render_collapsed ? ' collapsed' : '') . '">' . $text . $more . '</div>';
1662
  }
1663
  protected function render_xml_attributes(DOMElement $el, $path = '/')
356
 
357
  if (empty($xml))
358
  {
359
+ $this->errors->add('form-validation', __('Please confirm you are importing a valid feed.<br/> Often, feed providers distribute feeds with invalid data, improperly wrapped HTML, line breaks where they should not be, faulty character encodings, syntax errors in the XML, and other issues.<br/><br/>WP All Import has checks in place to automatically fix some of the most common problems, but we can’t catch every single one.<br/><br/>It is also possible that there is a bug in WP All Import, and the problem is not with the feed.<br/><br/>If you need assistance, please contact support – <a href="mailto:support@wpallimport.com">support@wpallimport.com</a> – with your XML/CSV file. We will identify the problem and release a bug fix if necessary.', 'pmxi_plugin'));
360
  }
361
  else{
362
  wp_redirect(add_query_arg('action', 'element', $this->baseUrl)); die();
363
  }
364
 
365
  } else {
366
+ $this->errors->add('form-validation', __('Please confirm you are importing a valid feed.<br/> Often, feed providers distribute feeds with invalid data, improperly wrapped HTML, line breaks where they should not be, faulty character encodings, syntax errors in the XML, and other issues.<br/><br/>WP All Import has checks in place to automatically fix some of the most common problems, but we can’t catch every single one.<br/><br/>It is also possible that there is a bug in WP All Import, and the problem is not with the feed.<br/><br/>If you need assistance, please contact support – <a href="mailto:support@wpallimport.com">support@wpallimport.com</a> – with your XML/CSV file. We will identify the problem and release a bug fix if necessary.', 'pmxi_plugin'));
367
  }
368
 
369
  do_action("pmxi_get_file", $filePath);
1657
  }
1658
  $is_short = strlen($text) <= 40;
1659
  $text = esc_html($text);
1660
+ //$text = preg_replace('%(?<!\s)\b(?!\s|\W[\w\s])|\w{20}%', '$0&#8203;', $text); // put explicit breaks for xml content to wrap
1661
  echo '<div class="xml-content textonly' . ($is_short ? ' short' : '') . ($is_render_collapsed ? ' collapsed' : '') . '">' . $text . $more . '</div>';
1662
  }
1663
  protected function render_xml_attributes(DOMElement $el, $path = '/')
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.3
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.3');
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.4
7
  Author: Soflyy
8
  */
9
 
28
  */
29
  define('PMXI_PREFIX', 'pmxi_');
30
 
31
+ define('PMXI_VERSION', '3.1.4');
32
 
33
  define('PMXI_EDITION', 'free');
34
 
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  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.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
 
@@ -87,6 +87,9 @@ Does it work with special character encoding like Hebrew, Arabic, Chinese, etc?
87
 
88
  == Changelog ==
89
 
 
 
 
90
  = 3.1.3 =
91
  * fixed import pages
92
 
2
  Contributors: soflyy
3
  Tags: wordpress, xml, csv, datafeed, import
4
  Requires at least: 3.6.1
5
+ Tested up to: 3.9.1
6
+ Stable tag: 3.1.4
7
 
8
  WP All Import is an extremely powerful plugin that makes it easy to import any XML or CSV file to WordPress.
9
 
87
 
88
  == Changelog ==
89
 
90
+ = 3.1.4 =
91
+ * changed support email
92
+
93
  = 3.1.3 =
94
  * fixed import pages
95
 
views/admin/help/index.php CHANGED
@@ -4,7 +4,7 @@
4
  <tr>
5
  <td class="left">
6
  <p style='font-size: 1.3em;'>
7
- <b>E-mail</b> - <a href='mailto:support@soflyy.com'>support@soflyy.com</a><br />
8
  <b>Support page</b> - <a href='http://www.wpallimport.com/support?utm_source=wordpress.org&utm_medium=support&utm_campaign=free+plugin' target='_blank'>http://www.wpallimport.com/support</a>
9
  </p>
10
 
4
  <tr>
5
  <td class="left">
6
  <p style='font-size: 1.3em;'>
7
+ <b>E-mail</b> - <a href='mailto:support@wpallimport.com'>support@wpallimport.com</a><br />
8
  <b>Support page</b> - <a href='http://www.wpallimport.com/support?utm_source=wordpress.org&utm_medium=support&utm_campaign=free+plugin' target='_blank'>http://www.wpallimport.com/support</a>
9
  </p>
10
 
views/admin/manage/index.php CHANGED
@@ -10,7 +10,7 @@
10
  ?>
11
  <div class="updated"><p>
12
  <?php printf(
13
- __('Need help with WP All Import? Please visit <a href="http://www.wpallimport.com/support">http://www.wpallimport.com/support</a> or send an e-mail to <a href="mailto:support@soflyy.com">support@soflyy.com</a>. We give priority to professional edition customers, but we respond to most inquiries from free version users within 24 hours during business days.<br/><br/>Please note that we are unable to handle technical support requests in the WordPress.org community forums. <br/><br/><a href="javascript:void(0);" id="dismiss_manage_top"><u>dismiss</u></a>', 'pmxi_plugin')
14
  ) ?>
15
  </p></div>
16
  <?php
10
  ?>
11
  <div class="updated"><p>
12
  <?php printf(
13
+ __('Need help with WP All Import? Please visit <a href="http://www.wpallimport.com/support">http://www.wpallimport.com/support</a> or send an e-mail to <a href="mailto:support@wpallimport.com">support@wpallimport.com</a>. We give priority to professional edition customers, but we respond to most inquiries from free version users within 24 hours during business days.<br/><br/>Please note that we are unable to handle technical support requests in the WordPress.org community forums. <br/><br/><a href="javascript:void(0);" id="dismiss_manage_top"><u>dismiss</u></a>', 'pmxi_plugin')
14
  ) ?>
15
  </p></div>
16
  <?php