Support » Plugin: iThemes Security (formerly Better WP Security) » Itheme Security conflict with theme

  • hi
    I have recently updated to latest version of itheme security plugin, Edit Theme option i.e Editor (Appearance > Editor) is not displaying.
    I have done the following actions:
    1-deactivated all plugins and activate them one by one, after activating itheme plugin the problem generated.
    2- I have also changed to another theme.
    but the problem is still there

Viewing 6 replies - 1 through 6 (of 6 total)
  • @rafaqatali

    By default the iTSec plugin will enable the Disable File Editor setting in the WordPress Tweaks module.

    This is one of the recommended settings which is auto enabled as part of the Security Check module.

    Hi, you can put this below code in my wp-config.php file,

    define( ‘DISALLOW_FILE_EDIT’, TRUE );
    define( ‘DISALLOW_FILE_MODS’, TRUE );

    @shital-patel

    Actually the iTSec plugin Disable File Editor setting in the WordPress Tweaks module will do that (for DISALLOW_FILE_EDIT only) for you.

    So there is no need to edit the wp-config.php file yourself (unless you want to set the DISALLOW_FILE_MODS constant).

    (@rafaqatali)

    Please take a look at the content of the wp-config.php file.

    Manually remove the following lines if they exist:

    /* BEGIN iThemes Security – Do not modify or remove this line*/
    // iThemes Security Config Details: 2
    define( ‘DISALLOW_FILE_EDIT’, true ); // Disable File Editor – Security > Settings > WordPress Tweaks > File Editor
    /* END iThemes Security – Do not modify or remove this line*/

    OR

    Go to plugin better-wp-security\core\modules\wordpress-tweaks\config-generators.php

    @shital-patel

    No, no no !

    It says:

    /* BEGIN iThemes Security – Do not modify or remove this line*/
    ...
    /* END iThemes Security – Do not modify or remove this line*/

    The only and correct way of removing these lines is by disabling the iTSec plugin Disable File Editor setting in the WordPress Tweaks module (and saving the settings).

    @rafaqatali

    Please ignore the @shital-patel posts. She means well and her input is appreciated but she needs to do her homework first.

    So @pronl kindly elaborate the steps one by one to enable Theme Editor option in the WordPress Dashboard.

    • This reply was modified 2 years, 10 months ago by Rafaqat Ali. Reason: just to attach hypelink
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Itheme Security conflict with theme’ is closed to new replies.