Skip to content

Commit

Permalink
Bugfix Update on save dont update custom attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardogomez97 committed Feb 12, 2025
1 parent 6dc067f commit ddf26d6
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 7 deletions.
4 changes: 2 additions & 2 deletions doofinder-for-woocommerce/doofinder-for-woocommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: DOOFINDER Search and Discovery for WP & WooCommerce
* License: GPLv2 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
* Version: 2.6.1
* Version: 2.6.2
* Requires at least: 5.6
* Requires PHP: 7.0
* Author: Doofinder
Expand Down Expand Up @@ -40,7 +40,7 @@ class Doofinder_For_WordPress {
* @var string
*/

public static $version = '2.6.1';
public static $version = '2.6.2';

/**
* The only instance of Doofinder_For_WordPress
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ public static function custom_product_endpoint( $request, $config_request = fals
$fields_param = $config_request['fields'] ?? '';
$fields = ! empty( $fields_param ) ? explode( ',', $fields_param ) : array();
$fields = array_merge( $fields, array_values( $custom_attr_fields ) );
$config_request["fields"] = $fields;
}

// Retrieve the original product data.
Expand Down
7 changes: 5 additions & 2 deletions doofinder-for-woocommerce/readme.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
=== DOOFINDER Search and Discovery for WP & WooCommerce ===
Contributors: Doofinder
Tags: search, autocomplete
Version: 2.6.1
Version: 2.6.2
Requires at least: 5.6
Tested up to: 6.7.1
Requires PHP: 7.0
Stable tag: 2.6.1
Stable tag: 2.6.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -126,6 +126,9 @@ You can report security bugs through the Patchstack Vulnerability Disclosure Pro

== Changelog ==

= 2.6.2 =
- Bugfix update on save dont update custom attributes

= 2.6.1 =
- Added region validation.

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "doofinder-woocommerce",
"version": "2.6.1",
"version": "2.6.2",
"description": "Integrate Doofinder in your WooCommerce site with (almost) no effort.",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit ddf26d6

Please sign in to comment.