From 348cc3b106e5d9caf9914f97f0be93f3f9d577a0 Mon Sep 17 00:00:00 2001 From: Jason Bahl Date: Fri, 16 Sep 2022 10:36:16 -0600 Subject: [PATCH 1/2] Revert "filter returned value with acf/format_value" --- src/class-config.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/class-config.php b/src/class-config.php index 6053398..6c95901 100644 --- a/src/class-config.php +++ b/src/class-config.php @@ -458,15 +458,6 @@ protected function get_acf_field_value( $root, $acf_field, $format = false ) { } - /** - * Filters the returned ACF field value using acf filters - * - * @param mixed $value The resolved ACF field value - * @param int $id The ID of the object - * @param array $acf_field The ACF field config - */ - $value = apply_filters('acf/format_value', $value, $id, $acf_field); - /** * Filters the returned ACF field value * From 6e71f2e07e18d46ad6c8203e1fb877f17983d286 Mon Sep 17 00:00:00 2001 From: Jason Bahl Date: Fri, 16 Sep 2022 10:47:23 -0600 Subject: [PATCH 2/2] - update version for release --- readme.txt | 2 +- wp-graphql-acf.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/readme.txt b/readme.txt index cf71be2..0d966cd 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Donate link: https://wpgraphql.com/acf Tags: WPGraphQL, GraphQL, API, Advanced Custom Fields, ACF Requires at least: 5.0 Tested up to: 5.1.1 -Stable tag: 0.6.0 +Stable tag: 0.6.1 License: GPL-3 License URI: https://www.gnu.org/licenses/gpl-3.0.html diff --git a/wp-graphql-acf.php b/wp-graphql-acf.php index cbecbae..520764a 100644 --- a/wp-graphql-acf.php +++ b/wp-graphql-acf.php @@ -7,7 +7,7 @@ * Author URI: https://www.wpgraphql.com * Text Domain: wp-graphql-acf * Domain Path: /languages - * Version: 0.6.0 + * Version: 0.6.1 * Requires PHP: 7.0 * GitHub Plugin URI: https://github.com/wp-graphql/wp-graphql-acf * @@ -26,7 +26,7 @@ * Define constants */ const WPGRAPHQL_REQUIRED_MIN_VERSION = '0.4.0'; -const WPGRAPHQL_ACF_VERSION = '0.6.0'; +const WPGRAPHQL_ACF_VERSION = '0.6.1'; /** * Initialize the plugin