diff --git a/data-for-tests/mu-plugin.php b/data-for-tests/mu-plugin.php index bd4d5cd..5e13c95 100644 --- a/data-for-tests/mu-plugin.php +++ b/data-for-tests/mu-plugin.php @@ -19,7 +19,7 @@ function ( string $url ): string { add_action( 'fluentform/before_submission_confirmation', function ( $insertId, $formData, $form ) { - \FluentForm\App\Models\Submission::remove( array( $insertId ) ); + \FluentForm\App\Models\Submission::remove( array( $insertId ), $form->id ); }, 10, 3 diff --git a/prosopo-procaptcha/src/Integrations/Plugins/Gravity_Forms/Gravity_Field.php b/prosopo-procaptcha/src/Integrations/Plugins/Gravity_Forms/Gravity_Field.php index 44c2a43..5f1b0b9 100644 --- a/prosopo-procaptcha/src/Integrations/Plugins/Gravity_Forms/Gravity_Field.php +++ b/prosopo-procaptcha/src/Integrations/Plugins/Gravity_Forms/Gravity_Field.php @@ -62,7 +62,7 @@ public function get_form_editor_field_settings() { * * @since unknown */ - public function get_field_label( $force_frontend_label, $value ) { + public function get_field_label( $force_frontend_label = true, $value = '' ) { return self::get_widget()->get_field_label(); }