humanmade / humanmade/authorship

Adding an existing guest author when network user isn't added to subsite error

Open
#87 0 comments 0 reactions 0 assignees View on GitHub
Bug
Dominant language
PHP
Stars
68
Forks
11
PR merge metrics
No merged PRs in 30d

Description

An `Invalid user parameter(s)` error is thrown when adding a guest author that exists on the multisite network but the user isn't a member of the current subsite. Autosuggest doesn't display the existing user, but trying to add a user with an existing name throws an error.

Steps to reproduce:

- On a multisite install with 2 subsites:
- Add a guest author called "John Guest"
- Change to the other subsite
- Try adding a guest author called "John Guest"
- Request shows an "Invalid user parameters" error

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.