Before this PR only those WP_Users which are authors to posts were migrated. This change migrates all the WP_Users so that WooComm subscribers have their user objects automatically migrated as well.
Branch
This PR was branched off of #516 feat/import-custom-taxonomies-with-cdiff. Therefore when merging, make sure to merge #516 first, then if there were any new changes on feat/import-custom-taxonomies-with-cdiff merge them into this branch, and only then merge this branch.
How to test
create two test sites, one to emulate the Live site, another to emulate the Staging site
run a Content Diff scenario,
put some content on Live site
make Staging site as a clone of the Live site
next, put some new content on the Live site:
create several WP_Users, some authors to posts, others not authors to posts, with different roles
add several user meta rows to wp_usermeta for these new users
bring in new Live site's SQL dump with cdiff_ table prefix into the Staging site
run the two Content Diff commands
check that all the users were inserted correctly into the Staging site
Description
Before this PR only those WP_Users which are authors to posts were migrated. This change migrates all the WP_Users so that WooComm subscribers have their user objects automatically migrated as well.
Branch
This PR was branched off of #516
feat/import-custom-taxonomies-with-cdiff
. Therefore when merging, make sure to merge #516 first, then if there were any new changes onfeat/import-custom-taxonomies-with-cdiff
merge them into this branch, and only then merge this branch.How to test