Skip to content

Version 3.27.0

Choose a tag to compare

@github-actions github-actions released this 19 Sep 03:41
· 28 commits to master since this release

Fixed

  • Attribution never reached the stored Elementor submission. add_attribution_to_record() was hooked on elementor_pro/forms/new_record, which Elementor Pro fires after every submit action has already run, including the one that saves the entry. The hidden fields it added therefore arrived too late for the Submissions module and for the webhook, and had never appeared on a stored entry since 3.24.0. Attribution is now captured on elementor_pro/forms/record/actions_before, which runs in the visitor's request before any action.
  • submitted_at reported the time a later action fired, not the submit time. Elementor runs actions in sequence in one request, so a slow action ahead of the webhook pushed the timestamp out by however long it took; on one site a mail service added a steady 11 seconds. The payload is now assembled once per submission and reused, so submitted_at, the stored entry and the webhook all carry the same submit time.

Added

  • tests/unit/test-elementor-attribution-capture.php: drives Elementor's real hook sequence (record/actions_before, the actions, new_record) and covers the capture, the reuse of the captured payload when the cookies are gone, timestamp stability, the live-request fallback, and the field cleanup described below.

Security

  • Attribution added to the record for the Submissions module is removed again as soon as the entry is stored, so it cannot reach a notification email. Elementor's [all-fields] shortcode prints every field on the record with no filtering. The injection is also skipped entirely unless the form stores submissions and the Submissions action is ordered ahead of both email actions, verified per submission rather than assumed.

Installation

Automatic Update

If you already have the plugin installed, it should automatically detect this update. Go to Plugins in your WordPress admin and click Update Now.

Manual Installation

  1. Download the choice-uft-v3.27.0.zip file from the assets below
  2. In WordPress admin, go to Plugins → Add New → Upload Plugin
  3. Choose the downloaded zip file and click Install Now
  4. Activate the plugin after installation

Requirements

  • WordPress 5.0 or higher
  • PHP 7.4 or higher

Support

For issues or questions, please visit: https://github.com/ChoiceOMG/choice-uft/issues