-
Notifications
You must be signed in to change notification settings - Fork 59
Feat/migrate guest authors #3068
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
Conversation
15987be to
38f8917
Compare
chickenn00dle
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works as described. I had one issue with this step of testing:
Create or edit some posts, so that each author has at least one post assigned
I was not able to assign a post to the regular unlinked WP user that shares a login with a guest author ((E) a regular WP User with the user login the same as the slug from user D). The unlinked WP user was automatically assigned the same posts as the guest author.
That said, I think this might be the expected behavior of CAP, so going to approve 👍
# [4.0.0-alpha.6](v4.0.0-alpha.5...v4.0.0-alpha.6) (2024-05-20) ### Bug Fixes * **data-events:** handle no ga_client_id in data ([fc4fc9f](fc4fc9f)) * **registration-block:** prevent undefined variable warning ([8af9d89](8af9d89)) * **starter-content:** make the starter content generation idempotent ([d5e10ff](d5e10ff)) ### Features * **cli:** command to migrate CAP guest authors to WP users ([#3068](#3068)) ([7ea8273](7ea8273)) * custom role for assignable authors who don't edit posts ([#3066](#3066)) ([7b89053](7b89053)) * support for wrapping rss titles in cdata ([#3104](#3104)) ([8b3a3be](8b3a3be))
|
🎉 This PR is included in version 4.0.0-alpha.6 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 4.0.0-epic-ras-acc.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
# [4.0.0](v3.8.8...v4.0.0) (2024-05-28) ### Bug Fixes * autocomplete orders only for virtual products ([#3111](#3111)) ([bfbe554](bfbe554)) * **data-events:** handle no ga_client_id in data ([fc4fc9f](fc4fc9f)) * ensure only admins can reset starter content and newspack options ([#3081](#3081)) ([4606721](4606721)) * **registration-block:** prevent undefined variable warning ([8af9d89](8af9d89)) * **starter-content:** make the starter content generation idempotent ([d5e10ff](d5e10ff)) ### Features * add product option to autocomplete orders ([#3072](#3072)) ([4a2859b](4a2859b)) * **cli:** command to migrate CAP guest authors to WP users ([#3068](#3068)) ([7ea8273](7ea8273)) * custom role for assignable authors who don't edit posts ([#3066](#3066)) ([7b89053](7b89053)) * **ras:** skip campaign setup ([#3051](#3051)) ([9ef0e6d](9ef0e6d)) * support for wrapping rss titles in cdata ([#3104](#3104)) ([8b3a3be](8b3a3be)) ### BREAKING CHANGES * Changes order autocompletion behavior for existing products! * feat: add product option to autocomplete orders * chore: update outdated docblock description
|
🎉 This PR is included in version 4.0.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
All Submissions:
Changes proposed in this Pull Request:
Adds a CLI command to migrate off the usage of Co-Authors Plus' "Guest Authors" feature.
See 1200550061930446-as-1206481527608031/f
How to test the changes in this Pull Request:
newspack-blockstofix/hpb-author-urlbranch (fix(homepage-articles): author URL newspack-blocks#1710)co-authors-plusplugin active/author/<slug>) and take note of the slugswp newspack migrate-co-authors-guest-authors --verbose --live* Create a Guest Author and use the "WordPress User Mapping" input
** Will be generated after creating the Guest Author, see "Unique Slug" disabled input
Other information: