PluginProbe
Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! / 2.0.4
Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! v2.0.4
3.7.5 3.7.4 3.7.3 3.7.2 1-final 3.7.1 3.7.0 3.6.8 3.6.7 3.6.6 3.6.5 3.6.4 3.6.3 3.6.2 3.6.1 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.1.10 All 111 releases
← All changes | includes/API/MyClouds.php +1 -5 3.1.102.0.4 View file →
@@ -1,9 +1,9 @@
1 1 <?php
2 2
3 3 namespace Templately\API;
4 4
5 -use Templately\Core\Platform;
5 +use Templately\Utils\Database;
6 6 use WP_REST_Request;
7 7
8 8 use function wp_slash;
9 9 use function json_encode;
@@ -106,12 +106,8 @@
106 106 $name = $this->get_param( 'name' );
107 107 $file_type = $this->get_param( 'platform', 'elementor' );
108 108 $id = $this->get_param( 'id', 0, 'intval' );
109 109 $workspace_id = $this->get_param( 'workspace_id', 0, 'intval' );
110 -
111 - if( $file_type === 'elementor' && ! class_exists('Elementor\TemplateLibrary\Source_Local') ) {
112 - return $this->error( 'required_elementor', __("Missing required dependency Elementor, please install before trying again.", "templately"), 'clouds/upload', 400 );
113 - }
114 110
115 111 if( empty( $file_content ) ) {
116 112 /**
117 113 * @var Platform $platform