{"action":"closed","issue":{"url":"https://api.github.com/repos/Automattic/Co-Authors-Plus/issues/571","repository_url":"https://api.github.com/repos/Automattic/Co-Authors-Plus","labels_url":"https://api.github.com/repos/Automattic/Co-Authors-Plus/issues/571/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/Co-Authors-Plus/issues/571/comments","events_url":"https://api.github.com/repos/Automattic/Co-Authors-Plus/issues/571/events","html_url":"https://github.com/Automattic/Co-Authors-Plus/issues/571","id":342804370,"node_id":"MDU6SXNzdWUzNDI4MDQzNzA=","number":571,"title":"Deleting Guest Author should free up display name","user":{"login":"tobek","id":3081073,"node_id":"MDQ6VXNlcjMwODEwNzM=","avatar_url":"https://avatars0.githubusercontent.com/u/3081073?v=4","gravatar_id":"","url":"https://api.github.com/users/tobek","html_url":"https://github.com/tobek","followers_url":"https://api.github.com/users/tobek/followers","following_url":"https://api.github.com/users/tobek/following{/other_user}","gists_url":"https://api.github.com/users/tobek/gists{/gist_id}","starred_url":"https://api.github.com/users/tobek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobek/subscriptions","organizations_url":"https://api.github.com/users/tobek/orgs","repos_url":"https://api.github.com/users/tobek/repos","events_url":"https://api.github.com/users/tobek/events{/privacy}","received_events_url":"https://api.github.com/users/tobek/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-07-19T16:36:31Z","updated_at":"2018-07-30T15:37:52Z","closed_at":"2018-07-30T15:37:52Z","author_association":"NONE","body":"Had a user run into an issue where they deleted a guest author, and then had to create a new one with the same display name. Since the deleted guest author still existed in the trash, creating a new one with the same name created a `Display name conflicts with another guest author display name` error.\r\n\r\nWorkarounds:\r\n\r\n- Manually go to `.../wp-admin/edit.php?post_status=trash&post_type=guest-author` and permanently delete (or restore) the trashed guest author.\r\n- Or, create a new guest author with a different display name (ideally similar, since slug will be used in author page), and, after saving, go back in and change display name. This works I guess because conflict is actually based on the slug, and the slug is generated from display name.\r\n\r\nPotential fixes:\r\n\r\n- Permanently delete guest authors by default instead of trashing them.\r\n- Or, in the \"display name conflict\" error message, either offer to delete (or navigate to) existing guest author, or perhaps expose a link to trashed guest authors so user could go in and sort out."}}
{"actor":{"display_login":"sboisvert"}}