Open dottxado opened 10 months ago
I have customized the capabilities, removing the possibility of creating guest users, but the editor is showing an error on displaying the error:
I'm aware of https://github.com/humanmade/authorship/issues/76, but this issue is about showing the right error message provided from the backend.
add_filter('user_has_cap', 'removeGuestAuthorCap', 9999); function removeGuestAuthorCap(array $user_caps): array { unset($user_caps['create_guest_authors']); return $user_caps; }
I have customized the capabilities, removing the possibility of creating guest users, but the editor is showing an error on displaying the error:![image](https://github.com/humanmade/authorship/assets/23632632/74b08930-e121-42e9-a1cc-fa4015c13fe9)
I'm aware of https://github.com/humanmade/authorship/issues/76, but this issue is about showing the right error message provided from the backend.
How to reproduce: