Opened 5 years ago
Closed 3 years ago
#45996 closed defect (bug) (worksforme)
Block visual editor not accessible if user doesn't have nickname
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | minor | Version: | 5.0.3 |
Component: | Editor | Keywords: | needs-patch 2nd-opinion |
Focuses: | Cc: |
Description
If a user is created and doesn't have a nickname, the editor is stuck in code mode and the option to switch back and forth between Visual and Code mode is completely missing.
Even though the nickname is a required field, it's possible that a user gets created without one where most things work just fine (especially if they follow a tutorial like this for adding a user directly to the database, which leaves out any info on including the nickname field).
There may be a reason for this, but I don't see any reason why the visual editor shouldn't be available to a user if they don't have a nickname, even though it's a required field.
If that's the case, there should be a warning e.g. "Visual editor unavailable to users without nicknames" so people know what's the issue and fix it.
Very old issue i know, but I tested this on WordPress 5.4.1 by deleting my user's nice name and display name and gutenburg doesn't seem to have this issue. Should we close this ticket?