Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: returning a plain WP_User if guest authors is not enabled.
I forgot to run tests on my previous commit. This satisfies the test Test_CoAuthors_Plus::test_get_coauthor_by_when_guest_authors_not_enabled which is expecting a WP_User when the plugin is not enabled.
- Loading branch information