One Click Demo Import - Version 2.6.1

Version Description

Release Date - 21 July 2020

  • Fixed Elementor import issues.
Download this release

Release Info

Developer capuderg
Plugin Icon 128x128 One Click Demo Import
Version 2.6.1
Comparing to
See all releases

Code changes from version 2.6.0 to 2.6.1

languages/pt-ocdi.pot CHANGED
@@ -2,7 +2,7 @@
2
  # This file is distributed under the GPL 2.0.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: One Click Demo Import 2.6.0\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/one-click-demo-import/\n"
8
  "POT-Creation-Date: 2016-05-14 09:53:17+00:00\n"
2
  # This file is distributed under the GPL 2.0.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: One Click Demo Import 2.6.1\n"
6
  "Report-Msgid-Bugs-To: "
7
  "https://wordpress.org/support/plugin/one-click-demo-import/\n"
8
  "POT-Creation-Date: 2016-05-14 09:53:17+00:00\n"
one-click-demo-import.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: One Click Demo Import
5
  Plugin URI: https://wordpress.org/plugins/one-click-demo-import/
6
  Description: Import your content, widgets and theme settings with one click. Theme authors! Enable simple demo import for your theme demo data.
7
- Version: 2.6.0
8
  Author: ProteusThemes
9
  Author URI: http://www.proteusthemes.com
10
  License: GPL3
4
  Plugin Name: One Click Demo Import
5
  Plugin URI: https://wordpress.org/plugins/one-click-demo-import/
6
  Description: Import your content, widgets and theme settings with one click. Theme authors! Enable simple demo import for your theme demo data.
7
+ Version: 2.6.1
8
  Author: ProteusThemes
9
  Author URI: http://www.proteusthemes.com
10
  License: GPL3
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: import, content, demo, data, widgets, settings, redux, theme options
4
  Requires at least: 4.0
5
  Tested up to: 5.4
6
  Requires PHP: 5.3.2
7
- Stable tag: 2.6.0
8
  License: GPLv3 or later
9
 
10
  Import your demo content, widgets and theme settings with one click. Theme authors! Enable simple demo import for your theme demo data.
@@ -392,6 +392,12 @@ Please visit this [docs page](https://github.com/awesomemotive/one-click-demo-im
392
 
393
  == Changelog ==
394
 
 
 
 
 
 
 
395
  = 2.6.0 =
396
 
397
  *Release Date - 21 July 2020*
4
  Requires at least: 4.0
5
  Tested up to: 5.4
6
  Requires PHP: 5.3.2
7
+ Stable tag: 2.6.1
8
  License: GPLv3 or later
9
 
10
  Import your demo content, widgets and theme settings with one click. Theme authors! Enable simple demo import for your theme demo data.
392
 
393
  == Changelog ==
394
 
395
+ = 2.6.1 =
396
+
397
+ *Release Date - 21 July 2020*
398
+
399
+ * Fixed Elementor import issues.
400
+
401
  = 2.6.0 =
402
 
403
  *Release Date - 21 July 2020*
vendor/awesomemotive/wp-content-importer-v2/README.md CHANGED
@@ -15,6 +15,7 @@ One click demo import github page: https://github.com/awesomemotive/one-click-de
15
 
16
  *July 21st 2020*
17
  - Fixed incorrect post meta import.
 
18
 
19
  *July 14th 2020*
20
  - Fixed incorrect post and post meta import (unicode and other special characters were not escaped properly).
15
 
16
  *July 21st 2020*
17
  - Fixed incorrect post meta import.
18
+ - Fixed Elementor import after `wp_slash` updates in this repo.
19
 
20
  *July 14th 2020*
21
  - Fixed incorrect post and post meta import (unicode and other special characters were not escaped properly).
vendor/awesomemotive/wp-content-importer-v2/src/WXRImporter.php CHANGED
@@ -330,6 +330,17 @@ class WXRImporter extends \WP_Importer {
330
  add_filter( 'import_post_meta_key', array( $this, 'is_valid_meta_key' ) );
331
  add_filter( 'http_request_timeout', array( &$this, 'bump_request_timeout' ) );
332
 
 
 
 
 
 
 
 
 
 
 
 
333
  $result = $this->import_start( $file );
334
  if ( is_wp_error( $result ) ) {
335
  return $result;
330
  add_filter( 'import_post_meta_key', array( $this, 'is_valid_meta_key' ) );
331
  add_filter( 'http_request_timeout', array( &$this, 'bump_request_timeout' ) );
332
 
333
+ /*
334
+ * Elementor fix for excessive use of `wp_slash` after our update v3.0.2.
335
+ * Method in Elementor: \Elementor\Compatibility::register_actions
336
+ * https://wordpress.org/support/topic/version-2-6-0-breaks-every-elementor-theme/
337
+ *
338
+ * This can be removed after Elementor skips the functionality in above method if our plugin is in use.
339
+ */
340
+ if ( method_exists( '\Elementor\Compatibility', 'on_wxr_importer_pre_process_post_meta' ) ) {
341
+ remove_action( 'wxr_importer.pre_process.post_meta', array( 'Elementor\Compatibility', 'on_wxr_importer_pre_process_post_meta' ) );
342
+ }
343
+
344
  $result = $this->import_start( $file );
345
  if ( is_wp_error( $result ) ) {
346
  return $result;
vendor/composer/installed.json CHANGED
@@ -1,20 +1,20 @@
1
  [
2
  {
3
  "name": "awesomemotive/wp-content-importer-v2",
4
- "version": "v3.0.2",
5
- "version_normalized": "3.0.2.0",
6
  "source": {
7
  "type": "git",
8
  "url": "https://github.com/awesomemotive/WordPress-Importer.git",
9
- "reference": "af60e6b933ed053f6e031118d57ea6bd04dbad12"
10
  },
11
  "dist": {
12
  "type": "zip",
13
- "url": "https://api.github.com/repos/awesomemotive/WordPress-Importer/zipball/af60e6b933ed053f6e031118d57ea6bd04dbad12",
14
- "reference": "af60e6b933ed053f6e031118d57ea6bd04dbad12",
15
  "shasum": ""
16
  },
17
- "time": "2020-07-21T06:59:04+00:00",
18
  "type": "library",
19
  "installation-source": "dist",
20
  "autoload": {
@@ -49,7 +49,7 @@
49
  "wp"
50
  ],
51
  "support": {
52
- "source": "https://github.com/awesomemotive/WordPress-Importer/tree/v3.0.2"
53
  }
54
  }
55
  ]
1
  [
2
  {
3
  "name": "awesomemotive/wp-content-importer-v2",
4
+ "version": "v3.0.3",
5
+ "version_normalized": "3.0.3.0",
6
  "source": {
7
  "type": "git",
8
  "url": "https://github.com/awesomemotive/WordPress-Importer.git",
9
+ "reference": "318c7657f4a4a84cf9e5a0d7f8d6ee2b2d0d0e9e"
10
  },
11
  "dist": {
12
  "type": "zip",
13
+ "url": "https://api.github.com/repos/awesomemotive/WordPress-Importer/zipball/318c7657f4a4a84cf9e5a0d7f8d6ee2b2d0d0e9e",
14
+ "reference": "318c7657f4a4a84cf9e5a0d7f8d6ee2b2d0d0e9e",
15
  "shasum": ""
16
  },
17
+ "time": "2020-07-21T15:06:58+00:00",
18
  "type": "library",
19
  "installation-source": "dist",
20
  "autoload": {
49
  "wp"
50
  ],
51
  "support": {
52
+ "source": "https://github.com/awesomemotive/WordPress-Importer/tree/v3.0.3"
53
  }
54
  }
55
  ]