Plugin Directory

Changeset 3224805


Ignore:
Timestamp:
01/18/2025 10:03:25 AM (15 months ago)
Author:
mosparo
Message:

Release of version 1.12.1, which contains a fix for Gravity Forms and updated dependencies

Location:
mosparo-integration
Files:
6 edited
15 copied

Legend:

Unmodified
Added
Removed
  • mosparo-integration/tags/1.12.1/LICENSE

    r3042153 r3224805  
    11The MIT License (MIT)
    22
    3 Copyright 2021-2024 mosparo Core Developers and contributors
     3Copyright 2021-2025 mosparo Core Developers and contributors
    44
    55Permission is hereby granted, free of charge, to any person obtaining a copy
  • mosparo-integration/tags/1.12.1/mosparo-integration.php

    r3179647 r3224805  
    55 * @package           MosparoIntegration
    66 * @author            mosparo Core Developers and contributors
    7  * @copyright         2021-2024 mosparo Core Developers and contributors
     7 * @copyright         2021-2025 mosparo Core Developers and contributors
    88 * @license           MIT
    99 *
     
    1515 * Author URI:        https://mosparo.io/
    1616 * License:           MIT
    17  * Version:           1.12.0
     17 * Version:           1.12.1
    1818 * Text Domain:       mosparo-integration
    1919 * Domain Path:       /languages
  • mosparo-integration/tags/1.12.1/readme.txt

    r3179647 r3224805  
    33Tags: mosparo, integration, spam-protection, forms, api-client
    44Requires at least: 5.4
    5 Tested up to: 6.6.2
     5Tested up to: 6.7.1
    66Requires PHP: 7.4
    7 Stable tag: 1.12.0
     7Stable tag: 1.12.1
    88License: MIT
    99
     
    104104== Changelog ==
    105105
     106= 1.12.1 =
     107*Release Date: 18th January 2025*
     108
     109* [Bugfix] Gravity Forms: Fixed the selector and logic to handle conditionally hidden fields correctly.
     110
    106111= 1.12.0 =
    107112*Release Date: 31st October 2024*
  • mosparo-integration/tags/1.12.1/src/MosparoIntegration/Module/GravityForms/MosparoField.php

    r2899545 r3224805  
    4848            return $frontendHelper->displayDummy();
    4949        } else {
    50             $html = $frontendHelper->generateField($connection, ['designMode' => $this->is_form_editor()], $this);
     50            $html = $frontendHelper->generateField($connection, [
     51                'designMode' => $this->is_form_editor(),
     52                'inputFieldSelector' => '.gfield:not([data-conditional-logic="hidden"]):not(.mosparo__ignored-field) [name]:not(.mosparo__ignored-field)',
     53            ], $this);
    5154
    5255            if ($this->is_form_editor()) {
     
    140143
    141144        foreach ($form['fields'] as $field) {
    142             if (in_array($field['type'], $ignoredTypes)) {
     145            if (in_array($field['type'], $ignoredTypes) || strpos($field['cssClass'] ?? '', 'mosparo__ignored-field') !== false) {
    143146                continue;
    144147            }
  • mosparo-integration/trunk/LICENSE

    r3042153 r3224805  
    11The MIT License (MIT)
    22
    3 Copyright 2021-2024 mosparo Core Developers and contributors
     3Copyright 2021-2025 mosparo Core Developers and contributors
    44
    55Permission is hereby granted, free of charge, to any person obtaining a copy
  • mosparo-integration/trunk/mosparo-integration.php

    r3179647 r3224805  
    55 * @package           MosparoIntegration
    66 * @author            mosparo Core Developers and contributors
    7  * @copyright         2021-2024 mosparo Core Developers and contributors
     7 * @copyright         2021-2025 mosparo Core Developers and contributors
    88 * @license           MIT
    99 *
     
    1515 * Author URI:        https://mosparo.io/
    1616 * License:           MIT
    17  * Version:           1.12.0
     17 * Version:           1.12.1
    1818 * Text Domain:       mosparo-integration
    1919 * Domain Path:       /languages
  • mosparo-integration/trunk/readme.txt

    r3179647 r3224805  
    33Tags: mosparo, integration, spam-protection, forms, api-client
    44Requires at least: 5.4
    5 Tested up to: 6.6.2
     5Tested up to: 6.7.1
    66Requires PHP: 7.4
    7 Stable tag: 1.12.0
     7Stable tag: 1.12.1
    88License: MIT
    99
     
    104104== Changelog ==
    105105
     106= 1.12.1 =
     107*Release Date: 18th January 2025*
     108
     109* [Bugfix] Gravity Forms: Fixed the selector and logic to handle conditionally hidden fields correctly.
     110
    106111= 1.12.0 =
    107112*Release Date: 31st October 2024*
  • mosparo-integration/trunk/src/MosparoIntegration/Module/GravityForms/MosparoField.php

    r2899545 r3224805  
    4848            return $frontendHelper->displayDummy();
    4949        } else {
    50             $html = $frontendHelper->generateField($connection, ['designMode' => $this->is_form_editor()], $this);
     50            $html = $frontendHelper->generateField($connection, [
     51                'designMode' => $this->is_form_editor(),
     52                'inputFieldSelector' => '.gfield:not([data-conditional-logic="hidden"]):not(.mosparo__ignored-field) [name]:not(.mosparo__ignored-field)',
     53            ], $this);
    5154
    5255            if ($this->is_form_editor()) {
     
    140143
    141144        foreach ($form['fields'] as $field) {
    142             if (in_array($field['type'], $ignoredTypes)) {
     145            if (in_array($field['type'], $ignoredTypes) || strpos($field['cssClass'] ?? '', 'mosparo__ignored-field') !== false) {
    143146                continue;
    144147            }
Note: See TracChangeset for help on using the changeset viewer.