• Resolved shoreshdavid

    (@shoreshdavid)


    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

Viewing 1 replies (of 1 total)
  • Plugin Author A2 Hosting

    (@a2hosting)

    Hello Chris,

    Sorry that you’re having this issue. We’d like to take a look at your site directly to properly troubleshoot. Can you open a ticket with A2 support and reference issue A2OPT-730?

Viewing 1 replies (of 1 total)
  • The topic ‘Lock Editing feature not working correctly’ is closed to new replies.