Optin confirmation bug for existing unsubscribed lists
-
Hi there, first of all thanks for a cool plugin.
I found a bug when you already unsubscribed for a list and you subscribe to a different list, then the system will subscribe you to all lists.
I checked the code and it needs adjustment here: method edit_subscriber_status in class-es-db-lists-contacts.php since it updates all lists no matter the status so I think it should just update the ones with ‘unconfirmed’ statusif ( 'subscribed' === $status ) { return $wpdb->query( $wpdb->prepare( "UPDATE {$wpdb->prefix}ig_lists_contacts SET status = %s, subscribed_at = %s WHERE FIND_IN_SET(contact_id, %s)", array( $status, $current_date, $ids_str ) ) ); }
Let me know. thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Optin confirmation bug for existing unsubscribed lists’ is closed to new replies.