Skip to content

Commit

Permalink
remove mc_api_key during new login, as we are directly migrating to…
Browse files Browse the repository at this point in the history
… without logout.
  • Loading branch information
iamdharmesh committed Oct 4, 2024
1 parent 76df079 commit 50dc802
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions includes/class-mailchimp-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@ public function verify_and_save_oauth_token( $access_token, $data_center ) {
$data_encryption = new Mailchimp_Data_Encryption();

// Clean up the old data.
delete_option( 'mc_api_key' ); // Deprecated API key, need to remove as part of the migration.
delete_option( 'mailchimp_sf_access_token' );
delete_option( 'mailchimp_sf_auth_error' );
delete_option( 'mc_datacenter' );
Expand Down

0 comments on commit 50dc802

Please sign in to comment.