igorhrcek / wp-cli-secure-command

Secure package for WP CLI, built to provide an easier way of securing your WordPress installation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement a command to disable a file editor in WordPress Dashboard

igorhrcek opened this issue · comments

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.