Lock Editing feature not working correctly
-
Greetings,
In the Security tab, the “Lock Editing of Plugins and Themes from the WP Admin” feature works great at inserting the following parameter in wp-config.php:
define(‘DISALLOW_FILE_EDIT’, true);
…however, when disabling the feature, it doesn’t seem to consistently change this parameter to ‘false’. Multiple times I’ve had to manually log in to A2 Hosting, navigate all the way into cPanel File, open File Manager, find wp-config.php, and manually change the parameter to ‘false’ in order to re-enable the Theme File Editor in WP Admin. (Which frustratingly defeats the purpose since I’m already in a file manager anyway.)
We need to be able to reliably enable/disable Theme File Editor in WP Admin, as it’s still the quickest way to make minor changes to our style.css and functions.php files.
Regards,
Chris
- The topic ‘Lock Editing feature not working correctly’ is closed to new replies.