Implement a command to disable a file editor in WordPress Dashboard
igorhrcek opened this issue · comments
Igor Hrček commented
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
File Editor is a huge security risk in the dashboard and it should be disabled, so we need to implement a command for that.
Describe alternatives you've considered
None
Additional context
This is just setting the DISALLOW_FILE_EDIT
to true, so we can do it using existing wp config set
command.