Unyson - Version 2.1.14

Version Description

  • Fixed extension download link to not make a request to Github API
Download this release

Release Info

Developer Unyson
Plugin Icon 128x128 Unyson
Version 2.1.14
Comparing to
See all releases

Code changes from version 2.1.13 to 2.1.14

framework/core/components/extensions/manager/class--fw-extensions-manager.php CHANGED
@@ -1728,7 +1728,7 @@ final class _FW_Extensions_Manager
1728
  }
1729
 
1730
  {
1731
- $transient_name = 'fw_ext_manager_gh_ext_download';
1732
  $transient_ttl = HOUR_IN_SECONDS;
1733
 
1734
  $cache = get_site_transient($transient_name);
@@ -1801,7 +1801,7 @@ final class _FW_Extensions_Manager
1801
 
1802
  {
1803
  $cache[ $source_data['user_repo'] ] = array(
1804
- 'zipball_url' => $release['zipball_url'],
1805
  'tag_name' => $release['tag_name']
1806
  );
1807
 
1728
  }
1729
 
1730
  {
1731
+ $transient_name = 'fw_ext_manager_gh_download';
1732
  $transient_ttl = HOUR_IN_SECONDS;
1733
 
1734
  $cache = get_site_transient($transient_name);
1801
 
1802
  {
1803
  $cache[ $source_data['user_repo'] ] = array(
1804
+ 'zipball_url' => 'https://github.com/'. $source_data['user_repo'] .'/archive/'. $release['tag_name'] .'.zip',
1805
  'tag_name' => $release['tag_name']
1806
  );
1807
 
framework/extensions/update/extensions/github-update/class-fw-extension-github-update.php CHANGED
@@ -287,9 +287,12 @@ class FW_Extension_Github_Update extends FW_Ext_Update_Service
287
 
288
  $http = new WP_Http();
289
 
290
- $response = $http->request($release['zipball_url'], array(
291
- 'timeout' => $this->download_timeout,
292
- ));
 
 
 
293
 
294
  unset($http);
295
 
287
 
288
  $http = new WP_Http();
289
 
290
+ $response = $http->request(
291
+ 'https://github.com/'. $user_slash_repo .'/archive/'. $release['tag_name'] .'.zip',
292
+ array(
293
+ 'timeout' => $this->download_timeout,
294
+ )
295
+ );
296
 
297
  unset($http);
298
 
framework/manifest.php CHANGED
@@ -4,4 +4,4 @@ $manifest = array();
4
 
5
  $manifest['name'] = __('Unyson', 'fw');
6
 
7
- $manifest['version'] = '2.1.13';
4
 
5
  $manifest['name'] = __('Unyson', 'fw');
6
 
7
+ $manifest['version'] = '2.1.14';
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: unyson, themefusecom
3
  Tags: page builder, cms, grid, layout, responsive, back up, backup, db backup, dump, migrate, schedule, search engine optimization, seo, media, slideshow, shortcode, slide, slideshare, slideshow, google sitemaps, sitemaps, analytics, google analytics, calendar, event, events, google maps, learning, lessons, sidebars, breadcrumbs, review, portfolio
4
  Requires at least: 4.0.0
5
  Tested up to: 4.1
6
- Stable tag: 2.1.13
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -84,6 +84,9 @@ Yes; Unyson will work with any theme.
84
 
85
  == Changelog ==
86
 
 
 
 
87
  = 2.1.13 =
88
  * Make requests to custom Github API Cache service to prevent `Github API rate limit exceeded` error [#138](https://github.com/ThemeFuse/Unyson/issues/138)
89
 
3
  Tags: page builder, cms, grid, layout, responsive, back up, backup, db backup, dump, migrate, schedule, search engine optimization, seo, media, slideshow, shortcode, slide, slideshare, slideshow, google sitemaps, sitemaps, analytics, google analytics, calendar, event, events, google maps, learning, lessons, sidebars, breadcrumbs, review, portfolio
4
  Requires at least: 4.0.0
5
  Tested up to: 4.1
6
+ Stable tag: 2.1.14
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
84
 
85
  == Changelog ==
86
 
87
+ = 2.1.14 =
88
+ * Fixed extension download link to not make a request to Github API
89
+
90
  = 2.1.13 =
91
  * Make requests to custom Github API Cache service to prevent `Github API rate limit exceeded` error [#138](https://github.com/ThemeFuse/Unyson/issues/138)
92
 
unyson.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Unyson
4
  * Plugin URI: http://unyson.themefuse.com/
5
  * Description: A free drag & drop framework that comes with a bunch of built in extensions that will help you develop premium themes fast & easy.
6
- * Version: 2.1.13
7
  * Author: ThemeFuse
8
  * Author URI: http://themefuse.com
9
  * License: GPL2+
3
  * Plugin Name: Unyson
4
  * Plugin URI: http://unyson.themefuse.com/
5
  * Description: A free drag & drop framework that comes with a bunch of built in extensions that will help you develop premium themes fast & easy.
6
+ * Version: 2.1.14
7
  * Author: ThemeFuse
8
  * Author URI: http://themefuse.com
9
  * License: GPL2+