Version Description
- Hotfix in File Cache #1968
Download this release
Release Info
Developer | Unyson |
Plugin | Unyson |
Version | 2.6.1 |
Comparing to | |
See all releases |
Code changes from version 2.6.0 to 2.6.1
- framework/helpers/class-fw-file-cache.php +12 -4
- framework/manifest.php +1 -1
- readme.txt +4 -1
- unyson.php +1 -1
framework/helpers/class-fw-file-cache.php
CHANGED
@@ -75,7 +75,7 @@ class FW_File_Cache {
|
|
75 |
: unlink($path)
|
76 |
)
|
77 |
&&
|
78 |
-
file_put_contents($path, $code)
|
79 |
) {
|
80 |
// file re-created
|
81 |
} else {
|
@@ -83,8 +83,8 @@ class FW_File_Cache {
|
|
83 |
}
|
84 |
}
|
85 |
} elseif ( ! ( $shhh
|
86 |
-
? @file_put_contents($path, $code)
|
87 |
-
: file_put_contents($path, $code)
|
88 |
) ) {
|
89 |
return false; // cannot create the file
|
90 |
}
|
@@ -151,7 +151,15 @@ class FW_File_Cache {
|
|
151 |
return;
|
152 |
}
|
153 |
|
154 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
155 |
|
156 |
self::$changed = false;
|
157 |
}
|
75 |
: unlink($path)
|
76 |
)
|
77 |
&&
|
78 |
+
file_put_contents($path, $code, LOCK_EX)
|
79 |
) {
|
80 |
// file re-created
|
81 |
} else {
|
83 |
}
|
84 |
}
|
85 |
} elseif ( ! ( $shhh
|
86 |
+
? @file_put_contents($path, $code, LOCK_EX)
|
87 |
+
: file_put_contents($path, $code, LOCK_EX)
|
88 |
) ) {
|
89 |
return false; // cannot create the file
|
90 |
}
|
151 |
return;
|
152 |
}
|
153 |
|
154 |
+
$shhh = defined('DOING_AJAX') && DOING_AJAX; // prevent warning in ajax requests
|
155 |
+
|
156 |
+
if (!(
|
157 |
+
$shhh
|
158 |
+
? @file_put_contents(self::$path, '<?php return ' . var_export(self::$cache, true) . ';', LOCK_EX)
|
159 |
+
: file_put_contents(self::$path, '<?php return ' . var_export(self::$cache, true) . ';', LOCK_EX)
|
160 |
+
)) {
|
161 |
+
@file_put_contents(self::$path, '<?php return array();', LOCK_EX);
|
162 |
+
}
|
163 |
|
164 |
self::$changed = false;
|
165 |
}
|
framework/manifest.php
CHANGED
@@ -4,4 +4,4 @@ $manifest = array();
|
|
4 |
|
5 |
$manifest['name'] = __('Unyson', 'fw');
|
6 |
|
7 |
-
$manifest['version'] = '2.6.
|
4 |
|
5 |
$manifest['name'] = __('Unyson', 'fw');
|
6 |
|
7 |
+
$manifest['version'] = '2.6.1';
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: unyson
|
|
3 |
Tags: page builder, 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, framework
|
4 |
Requires at least: 4.4
|
5 |
Tested up to: 4.6
|
6 |
-
Stable tag: 2.6.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -83,6 +83,9 @@ Yes; Unyson will work with any theme.
|
|
83 |
|
84 |
== Changelog ==
|
85 |
|
|
|
|
|
|
|
86 |
= 2.6.0 =
|
87 |
* Added [File Cache](https://github.com/ThemeFuse/Unyson/blob/16709330f1acc29453928fce0fafe69a8ea592c7/framework/helpers/class-fw-file-cache.php) [#1828](https://github.com/ThemeFuse/Unyson/issues/1828)
|
88 |
* Migration to native term meta [#1745](https://github.com/ThemeFuse/Unyson/issues/1745)
|
3 |
Tags: page builder, 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, framework
|
4 |
Requires at least: 4.4
|
5 |
Tested up to: 4.6
|
6 |
+
Stable tag: 2.6.1
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
83 |
|
84 |
== Changelog ==
|
85 |
|
86 |
+
= 2.6.1 =
|
87 |
+
* Hotfix in File Cache [#1968](https://github.com/ThemeFuse/Unyson/issues/1968)
|
88 |
+
|
89 |
= 2.6.0 =
|
90 |
* Added [File Cache](https://github.com/ThemeFuse/Unyson/blob/16709330f1acc29453928fce0fafe69a8ea592c7/framework/helpers/class-fw-file-cache.php) [#1828](https://github.com/ThemeFuse/Unyson/issues/1828)
|
91 |
* Migration to native term meta [#1745](https://github.com/ThemeFuse/Unyson/issues/1745)
|
unyson.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Unyson
|
4 |
* Plugin URI: http://unyson.io/
|
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.6.
|
7 |
* Author: ThemeFuse
|
8 |
* Author URI: http://themefuse.com
|
9 |
* License: GPL2+
|
3 |
* Plugin Name: Unyson
|
4 |
* Plugin URI: http://unyson.io/
|
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.6.1
|
7 |
* Author: ThemeFuse
|
8 |
* Author URI: http://themefuse.com
|
9 |
* License: GPL2+
|