Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix synchronisation of Users to Contacts in WordPress Multisite #16676

Merged
merged 1 commit into from
Mar 4, 2020

Conversation

christianwach
Copy link
Member

Overview

In WordPress Multisite, only Users present on a particular Site should be synced to CiviCRM. At present, all WordPress Users are synced to CiviCRM regardless of their Site membership.

Before

All WordPress Users from all Sites are synced to CiviCRM.

After

Only WordPress Users that are members of that Sub-site are synced to CiviCRM.

Comments

Fixes this issue on CiviCRM Lab

@civibot civibot bot added the master label Mar 3, 2020
@civibot
Copy link

civibot bot commented Mar 3, 2020

(Standard links)

@kcristiano
Copy link
Member

Thanks @christianwach

  • (r-explain) Pass
  • (r-test) Pass
  • (r-code) Pass
  • (r-doc) Pass
  • (r-maint) Pass
  • (r-run) Pass: We have had this on all client sites sinc 5.10.x We did not have any issues.
  • (r-user) Pass: Without this PR there were unintended consequences in that contacts from multiple domain ids would all end up as users on the main site - whether they belonged or not.
  • (r-tech) Pass

I believe this is merge ready. I do think we should update the docs https://docs.civicrm.org/user/en/latest/initial-set-up/users-contacts/#synchronize-users-to-contacts with a section on WP.

@eileenmcnaughton
Copy link
Contributor

merging based on @kcristiano review

@eileenmcnaughton eileenmcnaughton merged commit e2c0052 into civicrm:master Mar 4, 2020
@christianwach christianwach deleted the lab-1629 branch March 4, 2020 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants