Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions gravity-forms/gw-cache-buster.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
* Plugin URI: https://gravitywiz.com/cache-busting-with-gravity-forms/
* Description: Bypass your website cache when loading a Gravity Forms form.
* Author: Gravity Wiz
* Version: 0.6.5
* Version: 0.6.6
* Author URI: https://gravitywiz.com
*/
class GW_Cache_Buster {
Expand Down Expand Up @@ -104,8 +104,8 @@ public function shortcode( $markup, $attributes, $content ) {
}

public function form_filter( $markup, $form ) {
// Prevent recursion.
if ( rgar( $GLOBALS, 'processing' ) ) {
// Prevent recursion, and ensure we're not editing an entry via GP Entry Blocks.
if ( rgar( $GLOBALS, 'processing' ) || rgget( 'edit_entry' ) ) {
return $markup;
}

Expand Down
Loading