Fresh Forms for Gravity

Changelog

1.5.6

  • Added support for data-cfasync to inline scripts. Although Cloudflare’s documentation doesn’t mention support of this attribute for inline scripts, in practice adding it seems to exclude them from Rocket Loader. Thanks to Richard Wawrzyniak for the suggestion.

1.5.5

  • Updated data-cfasync exclusion function.

1.5.4

  • Added JS handlers for Turnstile add-on.

1.5.3

  • Added support for GravityKit Gravity Forms Widget for Elementor.

1.5.2

  • Added support for the conversational_form post type introduced in the Conversational Forms add-on 1.3.0 version.
  • Moved check for force options (setting and filter) to an earlier stage.

1.5

  • Improved ACF support by requesting the field content only for supported types.
  • Added a settings page for optional settings.
  • Filter freshforms_acf_support is now deprecated in favor of the new settings page.

1.4.17

  • Reverted ACF support back to disabled by default.

1.4.16

  • Prevent fatal error if post content is not a string (as required by WordPress has_shortcode function). Which could happen for not supported embedding methods or when a third-party is altering the expected post content.

1.4.15

  • ACF support is now enabled by default when the ACF plugin is enabled for the site.
  • Changed ACF checks to the last position of possible checks to avoid running them when the form is already detected in any other embedding method.
  • Improved logging message for the scan_content() function used for ACF and UAEL.

1.4.12

  • Added support for PowerPack for Beaver Builder by IdeaBox Creations Gravity Forms Styler module.

1.4.11

  • Optimized code for plugins accepting partial matches for JS files exclusion.
  • Added support for Perfmatters delay JS exclusions. This plugin has other filters to investigate which are not supported yet.
  • Fixed PHP 8.1+ deprecated notice. Thanks to WordPress user @artgoddess for reporting it.

1.4.8

  • Added support to exclude Gravity Forms scripts from Page Optimize concatenation feature.

1.4.7

  • Code refactor to prevent a third-party messing with the JS exclusion variables.

1.4.6

  • Fixed a fatal error which can happen when purging the cache for WP-Optimize during Fresh Forms initial activation. Thanks to @castoruk for the report.
  • Fixed a fatal error which can happen when purging the cache for Kinsta Cache plugin during Fresh Forms initial activation. Thanks to @squareeye for the report.
  • Improved checks of existing functions for cache purge during activation.

1.4.3

  • Some code refactoring.
  • Prevent warning if $post->ID is not valid for some reason when the function to check for shortcodes is called. Thanks to @bozzmedia for the report.
  • Added some new handlers for GF 2.7+ to the JavaScript handlers exclusion. Thanks to Richard Wawrzyniak.

1.4

  • Added support for Ultimate Addons for Elementor By Brainstorm Force.

1.3.19

  • Fixed array warning when wp doctor check autoload-options-size is used. Thanks to @bozzmedia for the report.
  • Added Surge to the list of supported caching plugin. It supports Cache-Control: no-cache header.
  • Added Cache Enabler to the list of supported caching plugin. It supports DONOTCACHEPAGE constant.

1.3.16

  • Added support for Pantheon Cache cleaning on plugin activation. According to Pantheon Cache documentation cache exclusion is based on the Cache-Control header, which Fresh Forms already adds, so clearing cache should enable cache exclusion. https://pantheon.io/docs/cache-control

1.3.15

  • Updated use of LiteSpeed Cache plugin constants to avoid issues also with optimizations (JS minification, combination, defer, etc…).

1.3.14

  • Added support to exclude pages with a form from W3TC minify JS feature (files and inline). W3TC minifies inline JS as part of the HTML minify, so this affects also to HTML minification for form pages.
  • Added gform.initializeOnLoaded to the list of inline scripts string matches. Thanks to Richard Wawrzyniak for pointing it.

1.3.12

  • Added support to prevent issues with Hummingbird Asset Optimization breaking JS based features.
  • Added support to prevent issues with WP Rocket Defer JS, Minification/Combination of files and Combine Inline JS features breaking JS based features.
  • Added experimental support for Bluehost’s Endurance Page Cache.
  • Added missing path for SuperSignature scripts to Autoptimize exclusions.
  • Added automatic flush of cache after Fresh Forms updates to allow new additions to take effect transparently. Known issue: WP-Optimize requires a manual purge from its settings page.
  • Changed the value of the Fresh-Forms HTTP header to use the version number.
  • Improved CloudFlare’s Rocket Loader exclusions.

1.3.5

  • Added support to prevent WP-Optimize minification breaking form pages.
  • Added Fresh-Forms HTTP header.
  • Added filter freshforms_add_cookie filter that makes Fresh Forms to add a cookie that you can use with Varnish based caching plugins like CloudWays or NitroPack. See FAQ for more details.
  • Fixed WP-Optimize cache exclusion that was broken due to WP-Optimize bad practice of using PHP_INT_MAX as priority for add_filter/add_action lines.

1.3.1

  • Added filter freshforms_post_has_gform to force Fresh Forms to run without checking if there’s a form. See FAQ for more details.

1.3

  • Added support to detect UABB Gravity Forms Styler module. Thanks to Kellen Mace for the Beaver Builder module detection code https://gist.github.com/kellenmace/add5c45e5bddcdd3271de8fc7d204a18
  • Added new Signature add-on page parameter to SG Optimizer exclusions. Thanks to Richard Wawrzyniak for pointing it.
  • Added additional domains for SG Optimizer external scripts exclusions.
  • Fixed JS scripts exclusions for Autoptimize. Thanks to Richard Wawrzyniak for pointing it.

1.2.10

  • Added another SG Optimizer exclusion to prevent SG Optimizer from breaking Stripe Checkout redirection. Thanks to Richard Wawrzyniak.

1.2.9

  • Added support for forms embedded using the WP Tools Gravity Forms Divi Module plugin.

1.2.8

  • Added support to detect a Gravity Forms form embedded into ACF fields of Text, Text Area, and WYSIWYG type as subfields of a Repeater field.
  • Added support for Essential Addons for Elementor Gravity Forms widget.
  • Fixed a warning when the post has an ACF Flexible Content field but is empty.
  • Refactoring of some code.

1.2.4

  • Added more SG Optimizer exclusions.
  • Added support to detect a Gravity Forms form embedded into ACF fields of the following types as standalone fields and also as subfields of a Flexible Content field: Text, Text Area, WYSIWYG.
  • Added support to detect a Gravity Forms form embedded into WooCommerce product using WooCommerce Gravity Forms Product Add-ons by Lucas Stark.
  • Minor code changes.

1.2

  • Added an exclusion for SG Optimizer to prevent an issue with form redirection inline script due to the “Combine JavaScript Files” feature, that despite of its name also affects to inline scripts. Thanks to Richard Wawrzyniak.
  • Added an exclusion for SG Optimizer to prevent an issue with the Signature page not displaying the image due to the “Minify the HTML Output” feature. Thanks to Travis Lopes.
  • Added an exclusion for SG Optimizer to prevent an issue with the PayPal Commerce Platform Add-On due to the “Defer Render-blocking JS” feature.
  • Added additional exclusions of inline JS and files for SG Optimizer.

1.1.6

  • Added additional checking for Gravity Forms shortcode and blocks when a reusable block is used. Thanks to Richard Wawrzyniak.

1.1.5

  • Added support for Kinsta Cache.
  • Added support for Autoptimize.
  • Minor tweaks to SG Optimizer and WP Engine System support.

1.1.2

  • Improved WP Engine System support.
  • Added support for SG Optimizer.

1.1.1

  • Fixed a few notices.

1.1

  • Fixed issue with shortcode detection.
  • Added support for WP Engine System.

1.0

  • First public release.

Plugin Website
Visit website

Version:
1.5.6
Last Updated
April 7, 2026
Active Installs
3000
Requires
WordPress 4.9
Tested Up To
WordPress 6.9.4
Requires PHP
7.0

Share Post

Join our newsletter.

Get insights into what’s happening at ChangelogWP right in your inbox. We don’t believe in spam.