Version Description
- Fixed
wp-editor
option error when used in Theme Settings #1860
Download this release
Release Info
Developer | Unyson |
Plugin | Unyson |
Version | 2.5.12 |
Comparing to | |
See all releases |
Code changes from version 2.5.11 to 2.5.12
framework/includes/option-types/wp-editor/class-fw-option-type-wp-editor.php
CHANGED
@@ -80,7 +80,7 @@ class FW_Option_Type_Wp_Editor extends FW_Option_Type {
|
|
80 |
}
|
81 |
|
82 |
$editor_manager = new FW_WP_Editor_Manager($id, $option, $data);
|
83 |
-
|
84 |
}
|
85 |
|
86 |
/**
|
80 |
}
|
81 |
|
82 |
$editor_manager = new FW_WP_Editor_Manager($id, $option, $data);
|
83 |
+
return $editor_manager->get_html();
|
84 |
}
|
85 |
|
86 |
/**
|
framework/includes/option-types/wp-editor/static/scripts.js
CHANGED
@@ -100,15 +100,22 @@
|
|
100 |
|
101 |
// fixes https://github.com/ThemeFuse/Unyson/issues/1615
|
102 |
if (typeof window.wpLink != 'undefined') {
|
103 |
-
|
104 |
-
|
|
|
105 |
|
106 |
-
|
107 |
-
* hide link edit toolbar on wp-editor destroy (on options modal close)
|
108 |
-
*/
|
109 |
-
$option.one('remove', function(){
|
110 |
window.wpLink.close();
|
111 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
112 |
}
|
113 |
} else {
|
114 |
/**
|
100 |
|
101 |
// fixes https://github.com/ThemeFuse/Unyson/issues/1615
|
102 |
if (typeof window.wpLink != 'undefined') {
|
103 |
+
try {
|
104 |
+
window.wpLink.open(id);
|
105 |
+
} catch (e) {}
|
106 |
|
107 |
+
try {
|
|
|
|
|
|
|
108 |
window.wpLink.close();
|
109 |
+
|
110 |
+
/**
|
111 |
+
* hide link edit toolbar on wp-editor destroy (on options modal close)
|
112 |
+
*/
|
113 |
+
$option.one('remove', function () {
|
114 |
+
window.wpLink.close();
|
115 |
+
});
|
116 |
+
} catch (e) {
|
117 |
+
$('#wp-link-wrap,#wp-link-backdrop').css('display', '');
|
118 |
+
}
|
119 |
}
|
120 |
} else {
|
121 |
/**
|
framework/manifest.php
CHANGED
@@ -4,4 +4,4 @@ $manifest = array();
|
|
4 |
|
5 |
$manifest['name'] = __('Unyson', 'fw');
|
6 |
|
7 |
-
$manifest['version'] = '2.5.
|
4 |
|
5 |
$manifest['name'] = __('Unyson', 'fw');
|
6 |
|
7 |
+
$manifest['version'] = '2.5.12';
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
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.3
|
5 |
-
Tested up to: 4.
|
6 |
-
Stable tag: 2.5.
|
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.5.11 =
|
87 |
* New extension: WordPress Shortcodes [#1807](https://github.com/ThemeFuse/Unyson/issues/1807)
|
88 |
* Option type `wp-editor` fixes [#1615](https://github.com/ThemeFuse/Unyson/issues/1615)
|
2 |
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.3
|
5 |
+
Tested up to: 4.6
|
6 |
+
Stable tag: 2.5.12
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
83 |
|
84 |
== Changelog ==
|
85 |
|
86 |
+
= 2.5.12 =
|
87 |
+
* Fixed `wp-editor` option error when used in Theme Settings [#1860](https://github.com/ThemeFuse/Unyson/issues/1860)
|
88 |
+
|
89 |
= 2.5.11 =
|
90 |
* New extension: WordPress Shortcodes [#1807](https://github.com/ThemeFuse/Unyson/issues/1807)
|
91 |
* Option type `wp-editor` fixes [#1615](https://github.com/ThemeFuse/Unyson/issues/1615)
|
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.5.
|
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.5.12
|
7 |
* Author: ThemeFuse
|
8 |
* Author URI: http://themefuse.com
|
9 |
* License: GPL2+
|