Is there a way to merge two users?

Generally speaking I agree with most of the other answers but, if for some reason you really had to merge two accounts here is how that could work.

Merging User-B into User-A

  1. Reassign all of User-B’s content to User-A
  2. Determine the highest privilege of User-B
  3. If higher than the privileges of User-A elevate User-A’s privileges else do nothing.
  4. If you have extended the WordPress’s native users account you’ll want to add that logic here too.
  5. Delete User-B and do some clean up.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)