Fix synchronisation of Users to Contacts in WordPress Multisite
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.
Example use-case
- In WordPress Multisite, navigate to a Sub-site with CiviCRM activated.
- Click on Administer -> Users and Permissions -> Synchronize Users to Contacts.
- Click OK.
Current behaviour
All WordPress Users are synced to CiviCRM
Proposed behaviour
Only WordPress Users that are members of that Sub-site should be synced to CiviCRM
Comments
PR to follow.