Plugin Directory

Changeset 3240547


Ignore:
Timestamp:
02/14/2025 10:27:07 AM (14 months ago)
Author:
multiwoomanager
Message:

Update to version 1.1.6 - Fixed ACF field sync recursive mistake

Location:
multi-woo-manager/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • multi-woo-manager/trunk/README.txt

    r3236762 r3240547  
    66Tested up to: 6.7.1
    77Requires PHP: 8.0
    8 Stable tag: 1.1.5
     8Stable tag: 1.1.6
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    5757== Changelog ==
    5858
     59= 1.1.6 =
     60* Fixed a recursion bug where prefixes were lost in nested ACF group fields.
     61
    5962= 1.1.5 =
    60 - Initial release.
    61 - Added initial custom REST API endpoints for required for improving efficiency of product management.
    62 - Added admin top bar button for quick access to the MultiWooManager platform.
     63* Initial release.
     64* Added initial custom REST API endpoints to improve product management efficiency.
     65* Added admin top bar button for quick access to the MultiWooManager platform.
    6366
    6467== Upgrade Notice ==
    6568
     69= 1.1.6 =
     70* Recommended update to fix field prefix recursion for nested group fields.
     71
    6672= 1.1.5 =
    67 - Initial release. No previous versions to upgrade.
     73* Initial release. No previous versions to upgrade.
    6874
    6975== License ==
  • multi-woo-manager/trunk/admin/integrations/class-multi-woo-manager-acf.php

    r3236761 r3240547  
    100100            // recursively fetch its subfields.
    101101            if (in_array($type, ['group', 'repeater', 'flexible_content', 'tab'])) {
    102                 $prefix .= $key.'_';
     102                $oldPrefix = $prefix;            // remember
     103                $prefix .= $key.'_';             // extend
    103104                $childFields = self::buildFieldTree($field->ID, $prefix);
    104105                $fieldArray['sub_fields'] = $childFields;
    105                 $prefix = '';
     106                $prefix = $oldPrefix;            // restore
    106107            } else {
    107108                $fieldArray['sub_fields'] = [];
  • multi-woo-manager/trunk/multi-woo-manager.php

    r3236761 r3240547  
    1818 * Plugin URI:        https://multiwoomanager.com
    1919 * Description:       WooCommerce products management, the easy way. Plugin extends WooCommerce REST API in order to provide optimized API routes for product management.
    20  * Version:           1.1.5
     20 * Version:           1.1.6
    2121 * Author:            MultiWooManager
    2222 * Author URI:        https://multiwoomanager.com/
     
    3232}
    3333
    34 define( 'MULTI_WOO_MANAGER_VERSION', '1.1.5' );
     34define( 'MULTI_WOO_MANAGER_VERSION', '1.1.6' );
    3535
    3636/**
Note: See TracChangeset for help on using the changeset viewer.