Skip to content

Commit e87ca78

Browse files
authored
Forms: disable Jetpack CRM integration by default (#45667)
1 parent c0613f2 commit e87ca78

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Significance: minor
2+
Type: changed
3+
4+
Forms: disable Jetpack CRM integration by default.

projects/packages/forms/src/contact-form/class-contact-form-endpoint.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ private function get_supported_integrations() {
5757
'title' => __( 'Jetpack CRM', 'jetpack-forms' ),
5858
'subtitle' => __( 'Store contact form submissions in your CRM', 'jetpack-forms' ),
5959
// Overriding this may automatically enable/disable the integration when editing a form.
60-
'enabled_by_default' => true,
60+
'enabled_by_default' => false,
6161
),
6262
'salesforce' => array(
6363
'type' => 'service',

projects/packages/forms/src/contact-form/class-contact-form.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ public function __construct( $attributes, $content = null, $set_id = true ) {
196196
'customThankyouMessage' => '', // The message to show when customThankyou is set to 'message'.
197197
'customThankyouRedirect' => '', // The URL to redirect to when confirmationType is set to 'redirect'.
198198
'confirmationType' => null, // The type of confirmation to show after submitting a form. 'text' for a text message, 'redirect' for a redirect link.
199-
'jetpackCRM' => true, // Whether Jetpack CRM should store the form submission.
199+
'jetpackCRM' => null, // Whether Jetpack CRM should store the form submission.
200200
'mailpoet' => null,
201201
'hostingerReach' => null,
202202
'className' => null,
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Significance: minor
2+
Type: enhancement
3+
4+
Forms: disable Jetpack CRM integration by default.

0 commit comments

Comments
 (0)