Gravity Forms icon

Release v3.1.1

Gravity Forms v3.1.1

What's new in v3.1.1

Gravity Forms v3.1.1 was released on . The Easiest Tool to Create Advanced Forms for Your WordPress Powered Website. See the full changelog below and compare with the complete version history.

Release details

Released
5.1 MB
File unavailable

Changelog

Added
  • security enhancements.
  • the [`gform_state_lifespan`](https://docs.gravityforms.com/gform_state_lifespan/) filter to allow modifying the lifespan of the state during validation.
  • a new option to the Export Entries page to select the status for the entries to export.
Improved
  • admin pages to use a scoped `.gform-admin` root wrapper and only add the `.gform-admin` body class on pages that use our components, reducing style conflicts in the WordPress admin.
  • the license check to always check for the `GF_LICENSE_KEY` constant first, then the license key stored in the database, and to prevent editing the license key on the settings page if it is set by the constant.
  • the MCP integration to use the canonical WordPress MCP Adapter package to avoid conflicts with other MCP-enabled plugins.
Fixed
  • an issue where personal data retention can time out when many entries match the retention policy by processing deletions in background batches.
  • an issue where selecting a date using enter in the datepicker navigates (to the next field) and/or submits the form in a conversational form.
  • a PHP warning that can appear when viewing the changelog.
  • an issue that causes the Datepicker field F1 key and keyboard navigation to not work properly.
  • an issue where the default country is not selected on form display when the gform_countries filter returns an indexed array. Recomendation: If you are using the gform_countries filter, update the callback to return an associative array using the country codes as the keys to the country names.
  • an issue where selecting a date in the Datepicker could overwrite the configured minimum or maximum date.
  • an issue that causes fields inside repeaters to have their labels hidden when the repeater field is configured with hidden labels.
  • an issue that causes the button spinner to remain visible when an AJAX submission is aborted.
  • a fatal error caused by filters not being prefixed in private mcp_adapter.
  • an issue where expanded Forms and Feeds list rows are squished on mobile.
  • an issue where the Gravity Forms Color Picker component override GenerateBlocks color picker styles in the block editor.
  • a CSS validation error for form grid styles in Gravity Theme.
  • a JavaScript error that occurs, preventing form display, when there is conditional logic based on the last name input of the Name field and the input is not present.
Other
  • API: Fixed an issue where `GFFormsModel::get_current_page_url()` can return the wrong URL when processing a submission via new Ajax and the site is using the "Referrer-Policy: no-referrer" header.

Compatibility

Requires WordPress
6.5
Requires PHP
7.4

Verified safe

Gravity Forms v3.1.1 scanned clean with no security threats detected.

View full scan report