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

Programatically trigger user sync from site A to site B, for user that doesn't exist on site B #57

Open
verde-io opened this issue Sep 14, 2022 · 1 comment

Comments

@verde-io
Copy link

verde-io commented Sep 14, 2022

Hello,

I am trying to export / import users from an existing site to a new one, while also keeping the passwords. As the export feature doesn't do that, I was hoping perhaps programatically triggering an update might be a solution. I see that updating something like display name via the WP admin for a user on site A, will force the creation of the user on site B, while also porting the password. It seems that doing the same via wp_update_user or update_user doesn't work, unless I am doing something wrong.

Can you please provide any pointers? Paying for support would not be an issue as it's quite urgent.

Thanks,
Tudor

@verde-io
Copy link
Author

verde-io commented Sep 14, 2022

To further comment, I realise now that even with the profile update on site A, the password is not carried over to the synced user on site B, is that correct?

If that's the case, is there any solution to this besides forcing existing users on site A to update their password to force a password sync to site B?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant