Rara One Click Demo Import - Version 1.2.9

Version Description

  • WORDPRESS 5.6 AND PHP 8 COMPATIBILITY FIXES
Download this release

Release Info

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

Code changes from version 1.2.8 to 1.2.9

includes/class-rrdi-main.php CHANGED
@@ -168,7 +168,7 @@ class RRDI_Theme_Demo_Import {
168
  *
169
  * @return void
170
  */
171
- private function __wakeup() {}
172
 
173
 
174
  /**
@@ -545,8 +545,10 @@ class RRDI_Theme_Demo_Import {
545
  // so that it would not come to the Internal Error, because of the PHP script timeout.
546
  // Also this function has no effect when PHP is running in safe mode
547
  // http://php.net/manual/en/function.set-time-limit.php.
548
- // Increase PHP max execution time.
549
- set_time_limit( apply_filters( 'rrdi/set_time_limit_for_demo_data_import', 300 ) );
 
 
550
 
551
  // Disable import of authors.
552
  add_filter( 'wxr_importer.pre_process.user', '__return_false' );
168
  *
169
  * @return void
170
  */
171
+ public function __wakeup() {}
172
 
173
 
174
  /**
545
  // so that it would not come to the Internal Error, because of the PHP script timeout.
546
  // Also this function has no effect when PHP is running in safe mode
547
  // http://php.net/manual/en/function.set-time-limit.php.
548
+ // Increase PHP max execution time. Just in case, even though the AJAX calls are only 25 sec long.
549
+ if ( strpos( ini_get( 'disable_functions' ), 'set_time_limit' ) === false ) {
550
+ set_time_limit( apply_filters( 'rrdi/set_time_limit_for_demo_data_import', 300 ) );
551
+ }
552
 
553
  // Disable import of authors.
554
  add_filter( 'wxr_importer.pre_process.user', '__return_false' );
languages/rara-one-click-demo-import.pot CHANGED
@@ -1,14 +1,14 @@
1
- # Copyright (C) 2020 raratheme
2
  # This file is distributed under the GPL3.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: RARA One Click Demo Import 1.2.8\n"
6
  "Report-Msgid-Bugs-To: \n"
7
- "POT-Creation-Date: 2020-03-30 08:32:17+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2020-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: WP Travel Engine\n"
13
  "Language-Team: \n"
14
  "X-Poedit-KeywordsList: "
@@ -180,27 +180,27 @@ msgid ""
180
  "details about the errors can be found in this %3$s%5$slog file%6$s%4$s%7$s"
181
  msgstr ""
182
 
183
- #: includes/class-rrdi-main.php:574
184
  msgid "Max execution time after content import = "
185
  msgstr ""
186
 
187
- #: includes/class-rrdi-main.php:576
188
  msgid "Importing content"
189
  msgstr ""
190
 
191
- #: includes/class-rrdi-main.php:615 includes/class-rrdi-main.php:627
192
  msgid "Importing widgets"
193
  msgstr ""
194
 
195
- #: includes/class-rrdi-main.php:649 includes/class-rrdi-main.php:657
196
  msgid "Importing customizer settings"
197
  msgstr ""
198
 
199
- #: includes/class-rrdi-main.php:655
200
  msgid "Customizer settings import finished!"
201
  msgstr ""
202
 
203
- #: includes/class-rrdi-main.php:707
204
  msgid "Completed AJAX call number: "
205
  msgstr ""
206
 
1
+ # Copyright (C) 2021 raratheme
2
  # This file is distributed under the GPL3.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: RARA One Click Demo Import 1.2.9\n"
6
  "Report-Msgid-Bugs-To: \n"
7
+ "POT-Creation-Date: 2021-01-13 10:30:42+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
+ "PO-Revision-Date: 2021-MO-DA HO:MI+ZONE\n"
12
  "Last-Translator: WP Travel Engine\n"
13
  "Language-Team: \n"
14
  "X-Poedit-KeywordsList: "
180
  "details about the errors can be found in this %3$s%5$slog file%6$s%4$s%7$s"
181
  msgstr ""
182
 
183
+ #: includes/class-rrdi-main.php:576
184
  msgid "Max execution time after content import = "
185
  msgstr ""
186
 
187
+ #: includes/class-rrdi-main.php:578
188
  msgid "Importing content"
189
  msgstr ""
190
 
191
+ #: includes/class-rrdi-main.php:617 includes/class-rrdi-main.php:629
192
  msgid "Importing widgets"
193
  msgstr ""
194
 
195
+ #: includes/class-rrdi-main.php:651 includes/class-rrdi-main.php:659
196
  msgid "Importing customizer settings"
197
  msgstr ""
198
 
199
+ #: includes/class-rrdi-main.php:657
200
  msgid "Customizer settings import finished!"
201
  msgstr ""
202
 
203
+ #: includes/class-rrdi-main.php:709
204
  msgid "Completed AJAX call number: "
205
  msgstr ""
206
 
rara-one-click-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 with just one click.
6
- Version: 1.2.8
7
  Author: raratheme
8
  Author URI: https://www.rarathemes.com
9
  License: GPL3
@@ -17,7 +17,7 @@ defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
17
  define( 'RRDI_PATH', plugin_dir_path( __FILE__ ) );
18
 
19
  // Current version of the plugin.
20
- define( 'RRDI_VERSION', '1.2.8' );
21
 
22
  // Path/URL to root of this plugin, with trailing slash.
23
  define( 'RRDI_URL', plugin_dir_url( __FILE__ ) );
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 with just one click.
6
+ Version: 1.2.9
7
  Author: raratheme
8
  Author URI: https://www.rarathemes.com
9
  License: GPL3
17
  define( 'RRDI_PATH', plugin_dir_path( __FILE__ ) );
18
 
19
  // Current version of the plugin.
20
+ define( 'RRDI_VERSION', '1.2.9' );
21
 
22
  // Path/URL to root of this plugin, with trailing slash.
23
  define( 'RRDI_URL', plugin_dir_url( __FILE__ ) );
readme.txt CHANGED
@@ -2,9 +2,9 @@
2
  Contributors: raratheme
3
  Tags: import, content, demo, data, widgets, settings
4
  Requires at least: 4.4.0
5
- Tested up to: 5.4
6
  Requires PHP: 5.6
7
- Stable tag: 1.2.8
8
  License: GPLv3 or later
9
 
10
  Make your website look like the live demo of the theme with a click!
@@ -113,6 +113,9 @@ with this program; if not, write to the Free Software Foundation, Inc.,
113
 
114
  == Changelog ==
115
 
 
 
 
116
  = 1.2.8 =
117
  * ARRAY OFFSET ACCESS SYNTAX WITH CURLY BRACES FIXED
118
 
2
  Contributors: raratheme
3
  Tags: import, content, demo, data, widgets, settings
4
  Requires at least: 4.4.0
5
+ Tested up to: 5.7
6
  Requires PHP: 5.6
7
+ Stable tag: 1.2.9
8
  License: GPLv3 or later
9
 
10
  Make your website look like the live demo of the theme with a click!
113
 
114
  == Changelog ==
115
 
116
+ = 1.2.9 =
117
+ * WORDPRESS 5.6 AND PHP 8 COMPATIBILITY FIXES
118
+
119
  = 1.2.8 =
120
  * ARRAY OFFSET ACCESS SYNTAX WITH CURLY BRACES FIXED
121