Skip to content

Commit 659ccee

Browse files
committed
merge dashboard
2 parents ad319a5 + 61128b5 commit 659ccee

11 files changed

+13
-471
lines changed

animation-addons-for-elementor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ final class WCF_ADDONS_Plugin {
9191
* @since 1.0.0
9292
* @var string The plugin version.
9393
*/
94-
const VERSION = '2.3.6';
94+
const VERSION = '2.3.7';
9595

9696
/**
9797
* Minimum Elementor Version

assets/js/wcf-template-library copy.js

Lines changed: 0 additions & 462 deletions
This file was deleted.

assets/js/wcf-template-library copy.min.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

assets/js/wcf-template-library.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
4141
allCategory();
4242
// API for get requests
4343

44-
var aae_domain = "https://crowdytheme.com/elementor/info-templates/wp-json/wp/v2/wcf-templates?page=1&per_page=20&subtype=block";
44+
var aae_domain = "https://block.animation-addons.com/wp-json/wp/v2/wcf-templates?page=1&per_page=20&subtype=block";
4545
var activePlugin = /*#__PURE__*/function () {
4646
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
4747
return _regeneratorRuntime().wrap(function _callee2$(_context2) {

assets/js/wcf-template-library.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/src/js/theme-builder.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@
158158

159159
//display specific locations
160160
if (response.responseJSON.data.tmpSpLocation) {
161+
161162
$.each(response.responseJSON.data.tmpSpLocation, function (i, item) {
162163
// Create a DOM Option and pre-select by default
163164
let data = {id: i, text: item};

assets/src/js/wcf-template-library.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
// API for get requests
2828

2929
let aae_domain =
30-
"https://crowdytheme.com/elementor/info-templates/wp-json/wp/v2/wcf-templates?page=1&per_page=20&subtype=block";
30+
"https://block.animation-addons.com/wp-json/wp/v2/wcf-templates?page=1&per_page=20&subtype=block";
3131
const activePlugin = async () => {
3232
await fetch(WCF_TEMPLATE_LIBRARY.ajaxurl, {
3333
method: "POST",

class-plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class Plugin
4141
*
4242
* @var string API URL.
4343
*/
44-
public $api_url = 'https://www.themecrowdy.com/wp-json/api/v2/list';
44+
public $api_url = 'https://block.animation-addons.com/wp-json/api/v2/list';
4545

4646
/**
4747
* Instance

inc/helper.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,8 +356,12 @@ function wcfaddon_get_current_user_roles() {
356356
if( is_user_logged_in() ) {
357357

358358
$user = wp_get_current_user();
359-
359+
360360
$roles = ( array ) $user->roles;
361+
362+
if(is_super_admin()){
363+
$roles[] = 'administrator'; // Add administrator role for super admins
364+
}
361365

362366
return $roles; // This will returns an array
363367

readme.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
=== Animation Addons for Elementor - GSAP Powered Elementor Addons & Website Templates ===
22
Contributors: wealcoder, wcrayhan, jhshakil, ahsanriad
33
Donate link: https://buy.stripe.com/3cs3dI7DQauI0py9AC
4-
Tags: Elementor, Elementor Addons, Elementor Templates, Animation, website template
4+
Tags: Elementor, Elementor Addons, Elementor Templates, Animation, Templates
55
Requires at least: 6.0
66
Tested up to: 6.8
77
Requires PHP: 7.4

0 commit comments

Comments
 (0)