Rara One Click Demo Import - Version 1.0.2

Version Description

*CODE CLEANUP

Download this release

Release Info

Developer raratheme
Plugin Icon 128x128 Rara One Click Demo Import
Version 1.0.2
Comparing to
See all releases

Code changes from version 1.0.1 to 1.0.2

includes/class-rrdi-importer.php CHANGED
@@ -29,7 +29,16 @@ class RRDI_Importer {
29
  */
30
  private function include_required_files() {
31
  defined( 'WP_LOAD_IMPORTERS' ) || define( 'WP_LOAD_IMPORTERS', true );
32
- require ABSPATH . '/wp-admin/includes/class-wp-importer.php';
 
 
 
 
 
 
 
 
 
33
  require RRDI_PATH . 'includes/class-rrdi-wxr-importer.php';
34
  }
35
 
29
  */
30
  private function include_required_files() {
31
  defined( 'WP_LOAD_IMPORTERS' ) || define( 'WP_LOAD_IMPORTERS', true );
32
+ include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
33
+ if( is_plugin_active( 'theme-demo-import/theme-demo-import.php' ) )
34
+ {
35
+ }
36
+ else if ( is_plugin_active( 'one-click-demo-import/one-click-demo-import.php' ) ){
37
+ # code...
38
+ }
39
+ else{
40
+ require ABSPATH . '/wp-admin/includes/class-wp-importer.php';
41
+ }
42
  require RRDI_PATH . 'includes/class-rrdi-wxr-importer.php';
43
  }
44
 
rara-demo-import.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: RARA One Click Demo Import
4
  Plugin URI: https://wordpress.org/plugins/rara-one-click-demo-import/
5
  Description: Import demo content, widgets and settings of themes made by RaraTheme.com with just one click.
6
- Version: 1.0.1
7
  Author: raratheme
8
  Author URI: https://www.raratheme.com
9
  License: GPL3
3
  Plugin Name: RARA One Click Demo Import
4
  Plugin URI: https://wordpress.org/plugins/rara-one-click-demo-import/
5
  Description: Import demo content, widgets and settings of themes made by RaraTheme.com with just one click.
6
+ Version: 1.0.2
7
  Author: raratheme
8
  Author URI: https://www.raratheme.com
9
  License: GPL3
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://raratheme.com/
4
  Tags: import, content, demo, data, widgets, settings
5
  Requires at least: 4.0.0
6
  Tested up to: 4.7.3
7
- Stable tag: 1.0.1
8
  License: GPLv3 or later
9
 
10
  Import demo content, widgets and settings of themes made by RaraTheme.com with just one click.
@@ -119,3 +119,5 @@ with this program; if not, write to the Free Software Foundation, Inc.,
119
  * CLASSES ADDED
120
  * FILTERS ADDED
121
 
 
 
4
  Tags: import, content, demo, data, widgets, settings
5
  Requires at least: 4.0.0
6
  Tested up to: 4.7.3
7
+ Stable tag: 1.0.2
8
  License: GPLv3 or later
9
 
10
  Import demo content, widgets and settings of themes made by RaraTheme.com with just one click.
119
  * CLASSES ADDED
120
  * FILTERS ADDED
121
 
122
+ = 1.0.2 =
123
+ *CODE CLEANUP