Acme Demo Setup - Version 2.0.3

Version Description

  • Fixed : Weblog demo url
  • Fixed : Restapi notice
Download this release

Release Info

Developer acmethemes
Plugin Icon 128x128 Acme Demo Setup
Version 2.0.3
Comparing to
See all releases

Code changes from version 2.0.2 to 2.0.3

Files changed (4) hide show
  1. acme-demo-setup.php +2 -2
  2. includes/api.php +1 -0
  3. includes/functions.php +4 -4
  4. readme.txt +19 -13
acme-demo-setup.php CHANGED
@@ -16,7 +16,7 @@ if ( ! defined( 'WPINC' ) ) {
16
  * Plugin Name: Acme Demo Setup
17
  * Plugin URI:
18
  * Description: Install Template Demo Library for Acme Themes
19
- * Version: 2.0.2
20
  * Author: acmethemes
21
  * Author URI: https://www.acmethemes.com/
22
  * License: GPL-2.0+
@@ -26,7 +26,7 @@ if ( ! defined( 'WPINC' ) ) {
26
  */
27
 
28
  /*Define Constants for this plugin*/
29
- define( 'ACME_DEMO_SETUP_VERSION', '2.0.2' );
30
  define( 'ACME_DEMO_SETUP_PLUGIN_NAME', 'acme-demo-setup' );
31
  define( 'ACME_DEMO_SETUP_PATH', plugin_dir_path( __FILE__ ) );
32
  define( 'ACME_DEMO_SETUP_URL', plugin_dir_url( __FILE__ ) );
16
  * Plugin Name: Acme Demo Setup
17
  * Plugin URI:
18
  * Description: Install Template Demo Library for Acme Themes
19
+ * Version: 2.0.3
20
  * Author: acmethemes
21
  * Author URI: https://www.acmethemes.com/
22
  * License: GPL-2.0+
26
  */
27
 
28
  /*Define Constants for this plugin*/
29
+ define( 'ACME_DEMO_SETUP_VERSION', '2.0.3' );
30
  define( 'ACME_DEMO_SETUP_PLUGIN_NAME', 'acme-demo-setup' );
31
  define( 'ACME_DEMO_SETUP_PATH', plugin_dir_path( __FILE__ ) );
32
  define( 'ACME_DEMO_SETUP_URL', plugin_dir_url( __FILE__ ) );
includes/api.php CHANGED
@@ -55,6 +55,7 @@ if ( ! class_exists( 'Acme_Demo_Setup_Template_Library_Api' ) ) {
55
  'description' => __( 'Theme Slug', 'acme-demo-setup' ),
56
  ),
57
  ),
 
58
  ),
59
  )
60
  );
55
  'description' => __( 'Theme Slug', 'acme-demo-setup' ),
56
  ),
57
  ),
58
+ 'permission_callback' => '__return_true',
59
  ),
60
  )
61
  );
includes/functions.php CHANGED
@@ -859,11 +859,11 @@ function acme_demo_setup_get_templates_lists( $theme_slug ){
859
  'keywords' => array( 'main', 'demo' ,'demo-1' ),/*Search keyword*/
860
  'categories' => array( 'magazine' ),/*Categories*/
861
  'template_url' => array(
862
- 'content' => ACME_DEMO_SETUP_TEMPLATE_URL.$theme_slug.'/master/demo-1/content.json',
863
- 'options' => ACME_DEMO_SETUP_TEMPLATE_URL.$theme_slug.'/master/demo-1/options.json',
864
- 'widgets' => ACME_DEMO_SETUP_TEMPLATE_URL.$theme_slug.'/master/demo-1/widgets.json'
865
  ),
866
- 'screenshot_url' => ACME_DEMO_SETUP_TEMPLATE_URL.$theme_slug.'/master/demo-1/screenshot.jpg',/*Screenshot of block*/
867
  'demo_url' => 'http://www.demo.acmethemes.com/weblog/',/*Demo Url*/
868
  /**/
869
  'plugins' => array(
859
  'keywords' => array( 'main', 'demo' ,'demo-1' ),/*Search keyword*/
860
  'categories' => array( 'magazine' ),/*Categories*/
861
  'template_url' => array(
862
+ 'content' => ACME_DEMO_SETUP_TEMPLATE_URL.$theme_slug.'/demo-1/content.json',
863
+ 'options' => ACME_DEMO_SETUP_TEMPLATE_URL.$theme_slug.'/demo-1/options.json',
864
+ 'widgets' => ACME_DEMO_SETUP_TEMPLATE_URL.$theme_slug.'/demo-1/widgets.json'
865
  ),
866
+ 'screenshot_url' => ACME_DEMO_SETUP_TEMPLATE_URL.$theme_slug.'/demo-1/screenshot.jpg',/*Screenshot of block*/
867
  'demo_url' => 'http://www.demo.acmethemes.com/weblog/',/*Demo Url*/
868
  /**/
869
  'plugins' => array(
readme.txt CHANGED
@@ -3,8 +3,9 @@
3
  Contributors: acmethemes, codersantosh
4
  Tags: demo, dummydata, import, acmethemes, themes, oneclick, customizer, widget
5
  Requires at least: 4.8
6
- Tested up to: 5.4.2
7
- Stable tag: 2.0.2
 
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -52,40 +53,45 @@ If you have the issues on the plugin [Visit Support Page](https://wordpress.org/
52
 
53
  == Changelog ==
54
 
55
- = 2.0.2
 
 
 
 
 
56
  * Added : Online Shop Demos
57
  * Added : Online Shop Pro Demos
58
 
59
- = 2.0.1
60
  * all screenshot image jpeg
61
  * optimized image size
62
  * api added for acmethemes demo
63
  * Minor changes
64
 
65
- = 2.0.0
66
  * Rewriting plugin using Advanced Import
67
 
68
- = 1.0.7
69
  * Fixed : Alternative File extension checker
70
 
71
- = 1.0.6
72
  * Fixed : Memory Limit on parser
73
 
74
- = 1.0.5
75
  * Fixed : Text Domain
76
  * Added : Error
77
 
78
- = 1.0.4
79
  * Fixed : undefined function ZipArchive on some hosting
80
 
81
- = 1.0.3
82
  * Update : Read Me
83
 
84
- = 1.0.2
85
  * Fixed issue with Menu import in PHP 7
86
 
87
- = 1.0.1
88
  * Implement ajax to import
89
 
90
- = 1.0.0
91
  * Initial Release
3
  Contributors: acmethemes, codersantosh
4
  Tags: demo, dummydata, import, acmethemes, themes, oneclick, customizer, widget
5
  Requires at least: 4.8
6
+ Tested up to: 5.5.1
7
+ Stable tag: 2.0.3
8
+ Requires PHP: 5.6.20
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
53
 
54
  == Changelog ==
55
 
56
+
57
+ = 2.0.3 =
58
+ * Fixed : Weblog demo url
59
+ * Fixed : Restapi notice
60
+
61
+ = 2.0.2 =
62
  * Added : Online Shop Demos
63
  * Added : Online Shop Pro Demos
64
 
65
+ = 2.0.1 =
66
  * all screenshot image jpeg
67
  * optimized image size
68
  * api added for acmethemes demo
69
  * Minor changes
70
 
71
+ = 2.0.0 =
72
  * Rewriting plugin using Advanced Import
73
 
74
+ = 1.0.7 =
75
  * Fixed : Alternative File extension checker
76
 
77
+ = 1.0.6 =
78
  * Fixed : Memory Limit on parser
79
 
80
+ = 1.0.5 =
81
  * Fixed : Text Domain
82
  * Added : Error
83
 
84
+ = 1.0.4 =
85
  * Fixed : undefined function ZipArchive on some hosting
86
 
87
+ = 1.0.3 =
88
  * Update : Read Me
89
 
90
+ = 1.0.2 =
91
  * Fixed issue with Menu import in PHP 7
92
 
93
+ = 1.0.1 =
94
  * Implement ajax to import
95
 
96
+ = 1.0.0 =
97
  * Initial Release