Skip to content

Commit

Permalink
Stop clearing the Mailchimp list ID upon logout to keep the Mailchimp…
Browse files Browse the repository at this point in the history
… settings persistent after logout.
  • Loading branch information
iamdharmesh committed Oct 2, 2024
1 parent e4e5ef6 commit cc4c225
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mailchimp.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ function mailchimp_sf_request_handler() {
}

// erase auth information
$options = array( 'mc_api_key', 'mailchimp_sf_access_token', 'mc_datacenter', 'mailchimp_sf_auth_error', 'mailchimp_sf_waiting_for_login', 'mc_sopresto_user', 'mc_sopresto_public_key', 'mc_sopresto_secret_key', 'mc_list_id' );
$options = array( 'mc_api_key', 'mailchimp_sf_access_token', 'mc_datacenter', 'mailchimp_sf_auth_error', 'mailchimp_sf_waiting_for_login', 'mc_sopresto_user', 'mc_sopresto_public_key', 'mc_sopresto_secret_key' );
mailchimp_sf_delete_options( $options );
break;
case 'change_form_settings':
Expand Down

0 comments on commit cc4c225

Please sign in to comment.