From ce98eae4287df0154dfc0e21caea5c97f62bae50 Mon Sep 17 00:00:00 2001 From: Miika Arponen Date: Thu, 22 Nov 2018 10:41:42 +0200 Subject: [PATCH] Fixed a bug that prevented Codifier filters to be run for the component fields. --- CHANGELOG.md | 5 +++++ plugin.php | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2aa9b4e..a768cc1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## Unreleased +## [1.2.5] - 2018-11-22 + +### Fixed +- A bug that prevented Codifier filters to be run for the component fields. + ## [1.2.4] - 2018-04-12 ### Added diff --git a/plugin.php b/plugin.php index e8a51b0..5cc7169 100644 --- a/plugin.php +++ b/plugin.php @@ -3,7 +3,7 @@ * Plugin Name: DustPress Components * Plugin URI: https://github.com/devgeniem/dustpress-components * Description: A WordPress, DustPress and ACF Flexible Contents plugin for modular component structures. - * Version: 1.2.4 + * Version: 1.2.5 * Author: Geniem Oy * Text Domain: dustpress-components * Author URI: http://www.geniem.com @@ -117,7 +117,7 @@ private static function get_components() { $fields = apply_filters( 'dustpress/components/fields=' . $component->name, $fields ); if ( $fields instanceof \Geniem\ACF\Field\Flexible\Layout ) { - $fields = $fields->export(); + $fields = $fields->export( true ); } $return[] = $fields;