Export WordPress data to XML/CSV - Version 1.0.9

Version Description

  • bug fix: fixed compatibility with PHP 5.3
Download this release

Release Info

Developer soflyy
Plugin Icon 128x128 Export WordPress data to XML/CSV
Version 1.0.9
Comparing to
See all releases

Code changes from version 1.0.8 to 1.0.9

classes/CdataStrategyIllegalCharacters.php CHANGED
@@ -4,7 +4,7 @@ require_once('CdataStrategy.php');
4
 
5
  class CdataStrategyIllegalCharacters implements CdataStrategy
6
  {
7
- private $illegalCharacters = ['<','>','&', '\'', '"'];
8
 
9
  public function should_cdata_be_applied($field)
10
  {
4
 
5
  class CdataStrategyIllegalCharacters implements CdataStrategy
6
  {
7
+ private $illegalCharacters = array('<','>','&', '\'', '"');
8
 
9
  public function should_cdata_be_applied($field)
10
  {
classes/XMLWriter.php CHANGED
@@ -395,7 +395,7 @@ class PMXE_XMLWriter extends XMLWriter
395
  $functionName = explode('\'', $functionName);
396
  $functionName = $functionName[0];
397
  }
398
- $functionName = str_replace(['(', ')', ',', ' ', '\'', '"'], '', $functionName);
399
 
400
  return $functionName;
401
  }
395
  $functionName = explode('\'', $functionName);
396
  $functionName = $functionName[0];
397
  }
398
+ $functionName = str_replace(array('(', ')', ',', ' ', '\'', '"'), '', $functionName);
399
 
400
  return $functionName;
401
  }
libraries/WpaeString.php CHANGED
@@ -100,7 +100,7 @@ class WpaeString
100
  if (strpos($params, ",") !== false) {
101
  $params = explode(",", $params);
102
  } else {
103
- $params = [$params];
104
  }
105
 
106
  foreach ($params as $param) {
100
  if (strpos($params, ",") !== false) {
101
  $params = explode(",", $params);
102
  } else {
103
+ $params = array($params);
104
  }
105
 
106
  foreach ($params as $param) {
libraries/WpaeXmlProcessor.php CHANGED
@@ -135,6 +135,7 @@ class WpaeXmlProcessor
135
  $elementValue = str_replace($snippet, $tagValues[$snippet][$i], $elementValue);
136
  $this->replaceSnippetInAttributes($elementClone, $snippet, $tagValues[$snippet][$i]);
137
 
 
138
  } else {
139
  $elementValue = str_replace($snippet, "", $elementValue);
140
  $this->replaceSnippetInAttributes($elementClone, $snippet, "");
@@ -191,7 +192,7 @@ class WpaeXmlProcessor
191
  $functionName = explode('\'', $functionName);
192
  $functionName = $functionName[0];
193
  }
194
- $functionName = str_replace(['(', ')', ',', ' ', '\'', '"'], '', $functionName);
195
 
196
  return $functionName;
197
  }
135
  $elementValue = str_replace($snippet, $tagValues[$snippet][$i], $elementValue);
136
  $this->replaceSnippetInAttributes($elementClone, $snippet, $tagValues[$snippet][$i]);
137
 
138
+
139
  } else {
140
  $elementValue = str_replace($snippet, "", $elementValue);
141
  $this->replaceSnippetInAttributes($elementClone, $snippet, "");
192
  $functionName = explode('\'', $functionName);
193
  $functionName = $functionName[0];
194
  }
195
+ $functionName = str_replace(array('(', ')', ',', ' ', '\'', '"'), '', $functionName);
196
 
197
  return $functionName;
198
  }
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Contributors: soflyy, wpallimport
3
  Requires at least: 4.1
4
  Tested up to: 4.6.1
5
- Stable tag: 1.0.8
6
  Tags: wordpress csv export, wordpress xml export, xml, csv, datafeed, export, migrate, export csv from wordpress, export xml from wordpress, advanced xml export, advanced csv export, export data, bulk csv export, export custom post type, export woocommerce products, export woocommerce orders, migrate woocommerce, csv export, export csv, xml export, export xml, csv exporter, datafeed
7
 
8
  WP All Export is an extremely powerful exporter that makes it easy to export any XML or CSV file from WordPress.
@@ -78,6 +78,9 @@ Either: -
78
 
79
  == Changelog ==
80
 
 
 
 
81
  = 1.0.8 =
82
  * improvement: pull the parent taxonomy data when exporting variations
83
  * improvement: remove spaces from export filename
2
  Contributors: soflyy, wpallimport
3
  Requires at least: 4.1
4
  Tested up to: 4.6.1
5
+ Stable tag: 1.0.9
6
  Tags: wordpress csv export, wordpress xml export, xml, csv, datafeed, export, migrate, export csv from wordpress, export xml from wordpress, advanced xml export, advanced csv export, export data, bulk csv export, export custom post type, export woocommerce products, export woocommerce orders, migrate woocommerce, csv export, export csv, xml export, export xml, csv exporter, datafeed
7
 
8
  WP All Export is an extremely powerful exporter that makes it easy to export any XML or CSV file from WordPress.
78
 
79
  == Changelog ==
80
 
81
+ = 1.0.9 =
82
+ * bug fix: fixed compatibility with PHP 5.3
83
+
84
  = 1.0.8 =
85
  * improvement: pull the parent taxonomy data when exporting variations
86
  * improvement: remove spaces from export filename
wp-all-export.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP All Export
4
  Plugin URI: http://www.wpallimport.com/export/
5
  Description: Export any post type to a CSV or XML file. Edit the exported data, and then re-import it later using WP All Import.
6
- Version: 1.0.8
7
  Author: Soflyy
8
  */
9
 
@@ -52,7 +52,7 @@ else {
52
  */
53
  define('PMXE_PREFIX', 'pmxe_');
54
 
55
- define('PMXE_VERSION', '1.0.8');
56
 
57
  define('PMXE_EDITION', 'free');
58
 
3
  Plugin Name: WP All Export
4
  Plugin URI: http://www.wpallimport.com/export/
5
  Description: Export any post type to a CSV or XML file. Edit the exported data, and then re-import it later using WP All Import.
6
+ Version: 1.0.9
7
  Author: Soflyy
8
  */
9
 
52
  */
53
  define('PMXE_PREFIX', 'pmxe_');
54
 
55
+ define('PMXE_VERSION', '1.0.9');
56
 
57
  define('PMXE_EDITION', 'free');
58