• Resolved Ann

    (@ann2275)


    The toggle in settings to allow use of the built in code editor is disabled. Having the editor disabled is fine for when I don’t need to do work on the site, but being unable to turn this setting off is causing problems now that I need to make adjustments to CSS for a new plugin. I’m having to resort to a severely substandard code editor provided through the use of a different plugin.

    The built-in code editor was not blocked when I needed to do some updates a couple years ago. When was this setting added and how do I undo it? This also appears to block manually changing the wp-config file to re-allow code edits, or at least when I tried to manually change the config file, the section of code added by the plugin was blocked from editing.

    • This topic was modified 12 months ago by Ann.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Ann

    (@ann2275)

    Sorry, updated the topic title to the correct wording.

    • This reply was modified 12 months ago by Ann.
    Plugin Support Jarno Vos

    (@jarnovos)

    Hi @ann2275,

    The setting “Disable the built-in file editors” in this plugin will only disable the standard WordPress “Plugin & Theme File Editor” menu items; but it won’t prevent you from adding Custom CSS via the Customizer, or wp-config.php adjustments from being made.

    If this setting is ‘greyed out’ in the plugin, meaning that you are unable to toggle the option on or off: this actually means that this setting is enforced somewhere outside of this plugin (therefore the plugin can’t change it, and it disables the setting to do so).

    For instance, this could be due to having the line define( 'DISALLOW_FILE_EDIT', true ); added in your wp-config.php file, or another plugin enforcing this setting.

    Kind regards, Jarno

    • This reply was modified 12 months ago by Jarno Vos.
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Unable to toggle off “disable the built-in file editor”’ is closed to new replies.