Skip to content

Commit d0ea3e5

Browse files
authored
gw-update-posts.php: Fixed an issue with confirmation message not displaying.
1 parent 1a82b41 commit d0ea3e5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gravity-forms/gw-update-posts.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ public function update_post_by_entry( $entry, $form ) {
166166

167167
}
168168

169-
wp_update_post( $post );
169+
// ensure the fires after hooks is set to false, so that doesn't override some of the normal rendering - GF confirmation for instance.
170+
wp_update_post( $post, false, false );
170171

171172
}
172173

0 commit comments

Comments
 (0)