by axew3 » Mon Jan 24, 2022 6:20 pm
p.s
removing this
Code: Select all
add_filter( 'pre_user_email', 'w3all_filter_pre_user_email', 10, 1 ); // check for possible duplicated email in phpBB, BEFORE the email being updated in WP
i tested that woocommerce, like memberpress, update the email of the user without let check to the integration plugin if the email already exist or not in phpBB. This mean that if an user update to an email that exist in phpBB but not in wp, it will be updated. So you'll have two users with same email in phpBB. This will not happen if integration run as non mismatching email and all users have been transferred.
Woocommerce or memberpress will refuse the email update, because the email already exist in wordpress (so there are no problems in this case).
I think that about this, until some different solution come out, that can be ok for any plugin, and not one by one solution, this can be an option that anybody can choose to leave or not active, based on how will go to integrate.
Active by default, that can be deactivated.
The option hint will say +- the above, and what you report as problem, when a membership goes to be updated
p.s
removing this
[code]add_filter( 'pre_user_email', 'w3all_filter_pre_user_email', 10, 1 ); // check for possible duplicated email in phpBB, BEFORE the email being updated in WP[/code]
i tested that woocommerce, like memberpress, update the email of the user without let check to the integration plugin if the email already exist or not in phpBB. This mean that if an user update to an email that exist in phpBB but not in wp, it will be updated. So you'll have two users with same email in phpBB. This will not happen if integration run as non mismatching email and all users have been transferred.
Woocommerce or memberpress will refuse the email update, because the email already exist in wordpress (so there are no problems in this case).
I think that about this, until some different solution come out, that can be ok for any plugin, and not one by one solution, this can be an option that anybody can choose to leave or not active, based on how will go to integrate.
Active by default, that can be deactivated.
The option hint will say +- the above, and what you report as problem, when a membership goes to be updated