We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3add99 commit 7ffba0cCopy full SHA for 7ffba0c
gravity-forms/gw-save-and-continue-auto-load.php
@@ -144,14 +144,17 @@ public function get_confirmation_message( $form ) {
144
}
145
146
147
+ /**
148
+ * Checks to see if the context is the GP Entry Block Editor.
149
+ */
150
public function is_editing_entry( $form_id ) {
151
if ( ! method_exists( 'GP_Entry_Blocks\GF_Queryer', 'attach_to_current_block' ) ) {
152
return false;
153
154
155
$entry_block = GP_Entry_Blocks\GF_Queryer::attach_to_current_block();
156
- return $entry_block && $entry_block->is_edit_entry() && $entry_block->form_id === $form_id;
157
+ return $entry_block && $entry_block->is_edit_entry() && $entry_block->form_id == $form_id;
158
159
160
public function is_applicable_form( $form ) {
0 commit comments