Version Description
Release Date - 15 April 2016
- Monkey fix for WP version 4.5. - disabled generation of multiple image sizes in the content import.
Download this release
Release Info
| Developer | capuderg |
| Plugin | |
| Version | 1.0.2 |
| Comparing to | |
| See all releases | |
Code changes from version 1.0.1 to 1.0.2
- languages/one-click-demo-import.pot +10 -10
- one-click-demo-import.php +5 -1
- readme.txt +15 -1
languages/one-click-demo-import.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 1.0.
|
| 6 |
"Report-Msgid-Bugs-To: http://support.proteusthemes.com/\n"
|
| 7 |
"POT-Creation-Date: 2016-03-14 13:27:22+00:00\n"
|
| 8 |
"MIME-Version: 1.0\n"
|
|
@@ -200,23 +200,23 @@ msgstr ""
|
|
| 200 |
msgid "Importing now, please wait!"
|
| 201 |
msgstr ""
|
| 202 |
|
| 203 |
-
#: one-click-demo-import.php:
|
| 204 |
msgid "Manually uploaded files"
|
| 205 |
msgstr ""
|
| 206 |
|
| 207 |
-
#: one-click-demo-import.php:
|
| 208 |
msgid "Downloaded files"
|
| 209 |
msgstr ""
|
| 210 |
|
| 211 |
-
#: one-click-demo-import.php:
|
| 212 |
msgid "The import files for: %s were successfully downloaded!"
|
| 213 |
msgstr ""
|
| 214 |
|
| 215 |
-
#: one-click-demo-import.php:
|
| 216 |
msgid "No import files specified!"
|
| 217 |
msgstr ""
|
| 218 |
|
| 219 |
-
#: one-click-demo-import.php:
|
| 220 |
msgid ""
|
| 221 |
"%1$s%3$sThat's it, all done!%4$s%2$sThe demo import has finished. Please "
|
| 222 |
"check your page and make sure that everything has imported correctly. If it "
|
|
@@ -224,22 +224,22 @@ msgid ""
|
|
| 224 |
"it has done its job.%5$s"
|
| 225 |
msgstr ""
|
| 226 |
|
| 227 |
-
#: one-click-demo-import.php:
|
| 228 |
msgid ""
|
| 229 |
"%1$sThe demo import has finished, but there were some import "
|
| 230 |
"errors.%2$sMore details about the errors can be found in this %3$s%5$slog "
|
| 231 |
"file%6$s%4$s%7$s"
|
| 232 |
msgstr ""
|
| 233 |
|
| 234 |
-
#: one-click-demo-import.php:
|
| 235 |
msgid "Importing content"
|
| 236 |
msgstr ""
|
| 237 |
|
| 238 |
-
#: one-click-demo-import.php:
|
| 239 |
msgid "Importing widgets"
|
| 240 |
msgstr ""
|
| 241 |
|
| 242 |
-
#: one-click-demo-import.php:
|
| 243 |
msgid "After import setup"
|
| 244 |
msgstr ""
|
| 245 |
|
| 2 |
# This file is distributed under the GPL 2.0.
|
| 3 |
msgid ""
|
| 4 |
msgstr ""
|
| 5 |
+
"Project-Id-Version: One Click Demo Import 1.0.2\n"
|
| 6 |
"Report-Msgid-Bugs-To: http://support.proteusthemes.com/\n"
|
| 7 |
"POT-Creation-Date: 2016-03-14 13:27:22+00:00\n"
|
| 8 |
"MIME-Version: 1.0\n"
|
| 200 |
msgid "Importing now, please wait!"
|
| 201 |
msgstr ""
|
| 202 |
|
| 203 |
+
#: one-click-demo-import.php:237
|
| 204 |
msgid "Manually uploaded files"
|
| 205 |
msgstr ""
|
| 206 |
|
| 207 |
+
#: one-click-demo-import.php:254 one-click-demo-import.php:265
|
| 208 |
msgid "Downloaded files"
|
| 209 |
msgstr ""
|
| 210 |
|
| 211 |
+
#: one-click-demo-import.php:261
|
| 212 |
msgid "The import files for: %s were successfully downloaded!"
|
| 213 |
msgstr ""
|
| 214 |
|
| 215 |
+
#: one-click-demo-import.php:271
|
| 216 |
msgid "No import files specified!"
|
| 217 |
msgstr ""
|
| 218 |
|
| 219 |
+
#: one-click-demo-import.php:299
|
| 220 |
msgid ""
|
| 221 |
"%1$s%3$sThat's it, all done!%4$s%2$sThe demo import has finished. Please "
|
| 222 |
"check your page and make sure that everything has imported correctly. If it "
|
| 224 |
"it has done its job.%5$s"
|
| 225 |
msgstr ""
|
| 226 |
|
| 227 |
+
#: one-click-demo-import.php:310
|
| 228 |
msgid ""
|
| 229 |
"%1$sThe demo import has finished, but there were some import "
|
| 230 |
"errors.%2$sMore details about the errors can be found in this %3$s%5$slog "
|
| 231 |
"file%6$s%4$s%7$s"
|
| 232 |
msgstr ""
|
| 233 |
|
| 234 |
+
#: one-click-demo-import.php:349
|
| 235 |
msgid "Importing content"
|
| 236 |
msgstr ""
|
| 237 |
|
| 238 |
+
#: one-click-demo-import.php:385 one-click-demo-import.php:397
|
| 239 |
msgid "Importing widgets"
|
| 240 |
msgstr ""
|
| 241 |
|
| 242 |
+
#: one-click-demo-import.php:419
|
| 243 |
msgid "After import setup"
|
| 244 |
msgstr ""
|
| 245 |
|
one-click-demo-import.php
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
Plugin Name: One Click Demo Import
|
| 5 |
Plugin URI: http://www.proteusthemes.com
|
| 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: 1.0.
|
| 8 |
Author: ProteusThemes
|
| 9 |
Author URI: http://www.proteusthemes.com
|
| 10 |
License: GPL3
|
|
@@ -205,6 +205,10 @@ class PT_One_Click_Demo_Import {
|
|
| 205 |
*/
|
| 206 |
public function import_demo_data_ajax_callback() {
|
| 207 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 208 |
// Verify if the AJAX call is valid (checks nonce and current_user_can).
|
| 209 |
OCDI_Helpers::verify_ajax_call();
|
| 210 |
|
| 4 |
Plugin Name: One Click Demo Import
|
| 5 |
Plugin URI: http://www.proteusthemes.com
|
| 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: 1.0.2
|
| 8 |
Author: ProteusThemes
|
| 9 |
Author URI: http://www.proteusthemes.com
|
| 10 |
License: GPL3
|
| 205 |
*/
|
| 206 |
public function import_demo_data_ajax_callback() {
|
| 207 |
|
| 208 |
+
// Temporary fix for WP version 4.5. - to be removed with a proper fix.
|
| 209 |
+
// Disables generation of multiple image sizes in the content import.
|
| 210 |
+
add_filter( 'intermediate_image_sizes_advanced', create_function( '', 'return null;' ) );
|
| 211 |
+
|
| 212 |
// Verify if the AJAX call is valid (checks nonce and current_user_can).
|
| 213 |
OCDI_Helpers::verify_ajax_call();
|
| 214 |
|
readme.txt
CHANGED
|
@@ -3,7 +3,7 @@ Contributors: capuderg, cyman
|
|
| 3 |
Tags: import, content, demo, data, widgets, settings
|
| 4 |
Requires at least: 4.0.0
|
| 5 |
Tested up to: 4.4.2
|
| 6 |
-
Stable tag: 1.0.
|
| 7 |
License: GPLv3 or later
|
| 8 |
|
| 9 |
Import your demo content, widgets and theme settings with one click. Theme authors! Enable simple demo import for your theme demo data.
|
|
@@ -88,8 +88,22 @@ function ocdi_after_import( $selected_import ) {
|
|
| 88 |
add_action( 'pt-ocdi/after_import', 'ocdi_after_import' );
|
| 89 |
`
|
| 90 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 91 |
== Changelog ==
|
| 92 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 93 |
= 1.0.1 =
|
| 94 |
|
| 95 |
*Release Date - 2 April 2016*
|
| 3 |
Tags: import, content, demo, data, widgets, settings
|
| 4 |
Requires at least: 4.0.0
|
| 5 |
Tested up to: 4.4.2
|
| 6 |
+
Stable tag: 1.0.2
|
| 7 |
License: GPLv3 or later
|
| 8 |
|
| 9 |
Import your demo content, widgets and theme settings with one click. Theme authors! Enable simple demo import for your theme demo data.
|
| 88 |
add_action( 'pt-ocdi/after_import', 'ocdi_after_import' );
|
| 89 |
`
|
| 90 |
|
| 91 |
+
= I can't activate the plugin, because of a fatal error, what can I do? =
|
| 92 |
+
|
| 93 |
+
You want to activate the plugin, but this error shows up:
|
| 94 |
+
|
| 95 |
+
*Plugin could not be activated because it triggered a fatal error*
|
| 96 |
+
|
| 97 |
+
This happens, because your hosting server is using a very old version of PHP. This plugin requires PHP version of at least **5.3.x**, but we recommend version *5.6.x*. Please contact your hosting company and ask them to update the PHP version for your site.
|
| 98 |
+
|
| 99 |
== Changelog ==
|
| 100 |
|
| 101 |
+
= 1.0.2 =
|
| 102 |
+
|
| 103 |
+
*Release Date - 15 April 2016*
|
| 104 |
+
|
| 105 |
+
* Monkey fix for WP version 4.5. - disabled generation of multiple image sizes in the content import.
|
| 106 |
+
|
| 107 |
= 1.0.1 =
|
| 108 |
|
| 109 |
*Release Date - 2 April 2016*
|
