Elementor Addons & Templates – Sizzify Lite - Version 1.2.0

Version Description

  • 2018-03-29
Download this release

Release Info

Developer themeisle
Plugin Icon wp plugin Elementor Addons & Templates – Sizzify Lite
Version 1.2.0
Comparing to
See all releases

Code changes from version 1.1.7 to 1.2.0

CHANGELOG.md CHANGED
@@ -1,4 +1,10 @@
1
 
 
 
 
 
 
 
2
  ### v1.1.7 - 2018-03-29
3
  **Changes:**
4
  * Development
1
 
2
+ ### v1.2.0 - 2018-03-29
3
+ **Changes:**
4
+ * Adds support for the premium version.
5
+ * Adds automatic page templates synchronization.
6
+ * Adds support for future extra-widgets and add-ons.
7
+
8
  ### v1.1.7 - 2018-03-29
9
  **Changes:**
10
  * Development
elementor-addon-widgets.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Elementor Addons & Templates - Sizzify Lite
4
  * Plugin URI: https://themeisle.com/
5
  * Description: Adds new Addons & Widgets that are specifically designed to be used in conjunction with the Elementor Page Builder.
6
- * Version: 1.1.7
7
  * Author: ThemeIsle
8
  * Author URI: https://themeisle.com/
9
  * Requires at least: 4.4
@@ -23,7 +23,7 @@ Constants
23
  ------------------------------------------ */
24
 
25
  /* Set plugin version constant. */
26
- define( 'EA_VERSION', '1.1.7' );
27
 
28
  /* Set constant path to the plugin directory. */
29
  define( 'EA_PATH', trailingslashit( plugin_dir_path( __FILE__ ) ) );
3
  * Plugin Name: Elementor Addons & Templates - Sizzify Lite
4
  * Plugin URI: https://themeisle.com/
5
  * Description: Adds new Addons & Widgets that are specifically designed to be used in conjunction with the Elementor Page Builder.
6
+ * Version: 1.2.0
7
  * Author: ThemeIsle
8
  * Author URI: https://themeisle.com/
9
  * Requires at least: 4.4
23
  ------------------------------------------ */
24
 
25
  /* Set plugin version constant. */
26
+ define( 'EA_VERSION', '1.2.0' );
27
 
28
  /* Set constant path to the plugin directory. */
29
  define( 'EA_PATH', trailingslashit( plugin_dir_path( __FILE__ ) ) );
readme.md CHANGED
@@ -61,6 +61,13 @@ See this [issue #495](https://github.com/pojome/elementor/issues/495) for curren
61
  4. Frontend view posts with custom title.
62
 
63
  ## Changelog ##
 
 
 
 
 
 
 
64
  ### 1.1.7 - 2018-03-29 ###
65
 
66
  * Development
61
  4. Frontend view posts with custom title.
62
 
63
  ## Changelog ##
64
+ ### 1.2.0 - 2018-03-29 ###
65
+
66
+ * Adds support for the premium version.
67
+ * Adds automatic page templates synchronization.
68
+ * Adds support for future extra-widgets and add-ons.
69
+
70
+
71
  ### 1.1.7 - 2018-03-29 ###
72
 
73
  * Development
readme.txt CHANGED
@@ -61,6 +61,13 @@ See this [issue #495](https://github.com/pojome/elementor/issues/495) for curren
61
  4. Frontend view posts with custom title.
62
 
63
  == Changelog ==
 
 
 
 
 
 
 
64
  = 1.1.7 - 2018-03-29 =
65
 
66
  * Development
61
  4. Frontend view posts with custom title.
62
 
63
  == Changelog ==
64
+ = 1.2.0 - 2018-03-29 =
65
+
66
+ * Adds support for the premium version.
67
+ * Adds automatic page templates synchronization.
68
+ * Adds support for future extra-widgets and add-ons.
69
+
70
+
71
  = 1.1.7 - 2018-03-29 =
72
 
73
  * Development
themeisle-hash.json CHANGED
@@ -1 +1 @@
1
- {"eaw-class.php":"414c18cd16dd525c99fc20b4d5505ece","elementor-addon-widgets.php":"2136c859a6829ae6c5761fbdfae7dfed"}
1
+ {"eaw-class.php":"414c18cd16dd525c99fc20b4d5505ece","elementor-addon-widgets.php":"5a568ddfc1206302dfe3934809b98b20"}
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit2cec8a2544647b27871b548196a9e428::getLoader();
4
 
5
  require_once __DIR__ . '/composer' . '/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit0d0509250e80c8edc2d5fc054ce93f41::getLoader();
vendor/codeinwp/templates-directory/class-page-templates-directory.php CHANGED
@@ -120,16 +120,19 @@ if ( ! class_exists( '\ThemeIsle\PageTemplatesDirectory' ) ) {
120
  $plugin_slug = $_POST['plugin_slug'];
121
  $query_args = array( 'license' => '', 'url' => get_home_url(), 'name' => $plugin_slug );
122
 
123
- $license = get_option('eaw_premium_license');
124
- if( !empty ( $license ) ) {
 
 
125
  $query_args['license'] = $license;
 
126
  }
127
  $url = add_query_arg( $query_args, 'https://themeisle.com/?edd_action=get_templates' );
128
 
129
- $request = wp_remote_post( esc_url_raw( $url ) );
130
- $response = json_decode( $request['body'], true );
131
 
132
- if( !empty( $response ) ) {
133
  update_option( $plugin_slug . '_synced_templates', $response );
134
  }
135
  die();
@@ -142,13 +145,14 @@ if ( ! class_exists( '\ThemeIsle\PageTemplatesDirectory' ) ) {
142
  } else {
143
  $fetched = get_option( 'sizzify_synced_templates' );
144
  }
145
- if( ! isset( $fetched ) ) {
146
  return $templates;
147
  }
148
  if( ! is_array( $fetched ) ) {
149
  return $templates;
150
  }
151
- $new_templates = array_merge( $fetched['templates'], $templates );
 
152
  return $new_templates;
153
  }
154
 
120
  $plugin_slug = $_POST['plugin_slug'];
121
  $query_args = array( 'license' => '', 'url' => get_home_url(), 'name' => $plugin_slug );
122
 
123
+ $license = get_option('eaw_premium_license_data','');
124
+
125
+ if( ! empty ( $license ) ) {
126
+ $license= isset($license->key) ? $license->key :'';
127
  $query_args['license'] = $license;
128
+ $query_args['_'] = time();
129
  }
130
  $url = add_query_arg( $query_args, 'https://themeisle.com/?edd_action=get_templates' );
131
 
132
+ $request = wp_remote_retrieve_body( wp_remote_post( esc_url_raw( $url ) ) );
133
+ $response = json_decode( $request, true );
134
 
135
+ if( ! empty( $response ) ) {
136
  update_option( $plugin_slug . '_synced_templates', $response );
137
  }
138
  die();
145
  } else {
146
  $fetched = get_option( 'sizzify_synced_templates' );
147
  }
148
+ if( empty( $fetched ) ) {
149
  return $templates;
150
  }
151
  if( ! is_array( $fetched ) ) {
152
  return $templates;
153
  }
154
+ $new_templates = array_merge( $templates,$fetched['templates'] );
155
+
156
  return $new_templates;
157
  }
158
 
vendor/codeinwp/templates-directory/views/template-directory-page-tpl.php CHANGED
@@ -74,6 +74,7 @@ if ( is_array( $templates_array ) ) { ?>
74
  $upsell = 'no';
75
  if ( isset( $properties['has_badge'] ) && ! isset( $properties['import_file'] ) ) {
76
  $upsell = 'yes';
 
77
  }
78
  ?>
79
  <div class="install-theme-info obfx-theme-info <?php echo esc_attr( $template ); ?>"
74
  $upsell = 'no';
75
  if ( isset( $properties['has_badge'] ) && ! isset( $properties['import_file'] ) ) {
76
  $upsell = 'yes';
77
+ $properties['import_file'] = '';
78
  }
79
  ?>
80
  <div class="install-theme-info obfx-theme-info <?php echo esc_attr( $template ); ?>"
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit2cec8a2544647b27871b548196a9e428
6
  {
7
  private static $loader;
8
 
@@ -19,9 +19,9 @@ class ComposerAutoloaderInit2cec8a2544647b27871b548196a9e428
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit2cec8a2544647b27871b548196a9e428', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit2cec8a2544647b27871b548196a9e428', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
@@ -42,14 +42,14 @@ class ComposerAutoloaderInit2cec8a2544647b27871b548196a9e428
42
 
43
  $includeFiles = require __DIR__ . '/autoload_files.php';
44
  foreach ($includeFiles as $fileIdentifier => $file) {
45
- composerRequire2cec8a2544647b27871b548196a9e428($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
- function composerRequire2cec8a2544647b27871b548196a9e428($fileIdentifier, $file)
53
  {
54
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
55
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit0d0509250e80c8edc2d5fc054ce93f41
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit0d0509250e80c8edc2d5fc054ce93f41', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit0d0509250e80c8edc2d5fc054ce93f41', 'loadClassLoader'));
25
 
26
  $map = require __DIR__ . '/autoload_namespaces.php';
27
  foreach ($map as $namespace => $path) {
42
 
43
  $includeFiles = require __DIR__ . '/autoload_files.php';
44
  foreach ($includeFiles as $fileIdentifier => $file) {
45
+ composerRequire0d0509250e80c8edc2d5fc054ce93f41($fileIdentifier, $file);
46
  }
47
 
48
  return $loader;
49
  }
50
  }
51
 
52
+ function composerRequire0d0509250e80c8edc2d5fc054ce93f41($fileIdentifier, $file)
53
  {
54
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
55
  require $file;
vendor/composer/installed.json CHANGED
@@ -159,18 +159,18 @@
159
  "source": {
160
  "type": "git",
161
  "url": "https://github.com/Codeinwp/templates-directory.git",
162
- "reference": "ef34db431aa55748fd0f1d313e67178ee9a02d59"
163
  },
164
  "dist": {
165
  "type": "zip",
166
- "url": "https://api.github.com/repos/Codeinwp/templates-directory/zipball/ef34db431aa55748fd0f1d313e67178ee9a02d59",
167
- "reference": "ef34db431aa55748fd0f1d313e67178ee9a02d59",
168
  "shasum": ""
169
  },
170
  "require": {
171
  "codeinwp/full-width-page-templates": "master"
172
  },
173
- "time": "2018-03-29 12:05:43",
174
  "type": "library",
175
  "installation-source": "dist",
176
  "autoload": {
159
  "source": {
160
  "type": "git",
161
  "url": "https://github.com/Codeinwp/templates-directory.git",
162
+ "reference": "0851643886a14e5418cb114780970e075a78e495"
163
  },
164
  "dist": {
165
  "type": "zip",
166
+ "url": "https://api.github.com/repos/Codeinwp/templates-directory/zipball/0851643886a14e5418cb114780970e075a78e495",
167
+ "reference": "0851643886a14e5418cb114780970e075a78e495",
168
  "shasum": ""
169
  },
170
  "require": {
171
  "codeinwp/full-width-page-templates": "master"
172
  },
173
+ "time": "2018-03-29 20:54:23",
174
  "type": "library",
175
  "installation-source": "dist",
176
  "autoload": {