ole1986 / wp-ispconfig3

Wordpress ISPConfig plugin with Gutenberg support
https://wordpress.org/plugins/wp-ispconfig3/
28 stars 13 forks source link

Capability issue #35

Closed milenmk closed 3 years ago

milenmk commented 3 years ago

When DISALLOW_FILE_EDIT is set to true (for security reasons), the admin menu disappears due to the module capability "edit_themes" that is set.

On "index.php", lines 196, 200 and 202 change 'edit_themes' to 'manage_options' and all works fine.

ole1986 commented 3 years ago

Feel free to provide a PR. So we can quickly merge things together

milenmk commented 3 years ago

Done

ole1986 commented 3 years ago

Sorry... bit delayed... I will merge is asap