Make WordPress Core

Opened 15 months ago

#45996 new defect (bug)

Block visual editor not accessible if user doesn't have nickname

Reported by: spencerfcloud Owned by:
Milestone: Awaiting Review Priority: normal
Severity: minor Version: 5.0.3
Component: Editor Keywords: needs-patch
Focuses: Cc:


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.


Change History (0)

Note: See TracTickets for help on using tickets.