Acme Demo Setup - Version 2.0.4

Version Description

  • Updated : Latest version test
Download this release

Release Info

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

Code changes from version 2.0.2 to 2.0.4

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 +21 -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.4
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.4' );
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,47 @@ 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.7.1
7
+ Stable tag: 2.0.4
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
+ = 2.0.4 =
57
+ * Updated : Latest version test
58
+
59
+ = 2.0.3 =
60
+ * Fixed : Weblog demo url
61
+ * Fixed : Restapi notice
62
+
63
+ = 2.0.2 =
64
  * Added : Online Shop Demos
65
  * Added : Online Shop Pro Demos
66
 
67
+ = 2.0.1 =
68
  * all screenshot image jpeg
69
  * optimized image size
70
  * api added for acmethemes demo
71
  * Minor changes
72
 
73
+ = 2.0.0 =
74
  * Rewriting plugin using Advanced Import
75
 
76
+ = 1.0.7 =
77
  * Fixed : Alternative File extension checker
78
 
79
+ = 1.0.6 =
80
  * Fixed : Memory Limit on parser
81
 
82
+ = 1.0.5 =
83
  * Fixed : Text Domain
84
  * Added : Error
85
 
86
+ = 1.0.4 =
87
  * Fixed : undefined function ZipArchive on some hosting
88
 
89
+ = 1.0.3 =
90
  * Update : Read Me
91
 
92
+ = 1.0.2 =
93
  * Fixed issue with Menu import in PHP 7
94
 
95
+ = 1.0.1 =
96
  * Implement ajax to import
97
 
98
+ = 1.0.0 =
99
  * Initial Release