Unyson - Version 2.2.5

Version Description

  • Fixed PageBuilder#26
Download this release

Release Info

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

Code changes from version 2.2.4 to 2.2.5

framework/core/components/backend.php CHANGED
@@ -617,8 +617,8 @@ final class _FW_Component_Backend {
617
  $old_values = (array) fw_get_db_post_option( $original_id );
618
 
619
  $handled_values = array();
620
- $all_options = fw_extract_only_options(fw()->theme->get_post_options($post->post_type));
621
- $options_values = fw_get_options_values_from_input( fw()->theme->get_post_options($post->post_type) );
622
 
623
  foreach ($all_options as $option_id => $option) {
624
  if (
617
  $old_values = (array) fw_get_db_post_option( $original_id );
618
 
619
  $handled_values = array();
620
+ $all_options = fw_extract_only_options(fw()->theme->get_post_options($original_post->post_type));
621
+ $options_values = fw_get_options_values_from_input( fw()->theme->get_post_options($original_post->post_type) );
622
 
623
  foreach ($all_options as $option_id => $option) {
624
  if (
framework/helpers/general.php CHANGED
@@ -783,6 +783,12 @@ function fw_prepare_option_value($value) {
783
  /**
784
  * This function is used in 'save_post' action
785
  *
 
 
 
 
 
 
786
  * @param $post_id
787
  * @return bool
788
  */
783
  /**
784
  * This function is used in 'save_post' action
785
  *
786
+ * Used to check if current post save is a regular "Save" button press
787
+ * not a revision, auto-save or something else
788
+ *
789
+ * todo: make sure it is correct to ignore revision and auto-save.
790
+ * todo: maybe we use wrong (too simplified) the 'save_post' action, maybe we should do something like this http://bit.ly/1xkbmml ?
791
+ *
792
  * @param $post_id
793
  * @return bool
794
  */
framework/manifest.php CHANGED
@@ -4,4 +4,4 @@ $manifest = array();
4
 
5
  $manifest['name'] = __('Unyson', 'fw');
6
 
7
- $manifest['version'] = '2.2.4';
4
 
5
  $manifest['name'] = __('Unyson', 'fw');
6
 
7
+ $manifest['version'] = '2.2.5';
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, framework
4
  Requires at least: 4.0.0
5
  Tested up to: 4.1
6
- Stable tag: 2.2.4
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -86,6 +86,9 @@ Yes; Unyson will work with any theme.
86
 
87
  == Changelog ==
88
 
 
 
 
89
  = 2.2.4 =
90
  * Fixed [#398](https://github.com/ThemeFuse/Unyson/issues/398)
91
  * Removed option type `runnable` [#399](https://github.com/ThemeFuse/Unyson/issues/399)
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, framework
4
  Requires at least: 4.0.0
5
  Tested up to: 4.1
6
+ Stable tag: 2.2.5
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
86
 
87
  == Changelog ==
88
 
89
+ = 2.2.5 =
90
+ * Fixed [PageBuilder#26](https://github.com/ThemeFuse/Unyson-PageBuilder-Extension/issues/26)
91
+
92
  = 2.2.4 =
93
  * Fixed [#398](https://github.com/ThemeFuse/Unyson/issues/398)
94
  * Removed option type `runnable` [#399](https://github.com/ThemeFuse/Unyson/issues/399)
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.2.4
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.2.5
7
  * Author: ThemeFuse
8
  * Author URI: http://themefuse.com
9
  * License: GPL2+