Skip to content

Commit 6181802

Browse files
Simplify todo note
1 parent 01c00b9 commit 6181802

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

mailchimp.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -913,12 +913,8 @@ function mailchimp_sf_signup_submit() {
913913
return false;
914914
}
915915

916-
// A former subscriber is trying to resubscribe
917-
// If "Update Existing Subscriber?" is enabled and the user is unsubscribed
918-
// then show them the Mailchimp hosted signup form
919-
if ( get_option( 'mc_update_existing' ) && 'unsubscribed' === $status ) {
920-
// TODO: Make API request to fetch Mailchimp hosted sign up form and display to user
921-
}
916+
// TODO: If get_option( 'mc_update_existing' ) && 'unsubscribed' === $status then
917+
// make an API request to fetch Mailchimp hosted sign up form and display to user
922918

923919
$body = mailchimp_sf_subscribe_body( $merge, $igs, $email_type, $email, $status, get_option( 'mc_double_optin' ) );
924920
$retval = $api->post( $url, $body, 'PUT' );

0 commit comments

Comments
 (0)