[Resolved] Disallow PHP Editing

Home Forums Support [Resolved] Disallow PHP Editing

Home Forums Support Disallow PHP Editing

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1436924
    Janine

    Hiya!

    In my WP Dashboard, I am getting this message:

    DISALLOW_FILE_EDIT is defined. You should also disallow PHP execution in GP Hooks.

    And the GP documentation instructs me to do this…

    To add this to my wp-config.php:

    define( ‘GENERATE_HOOKS_DISALLOW_PHP’, true );

    Here…

    This constant should be added into your wp-config.php file, below the DISALLOW_FILE_EDIT constant.

    When I download a copy of my wp-config.php for that database, the constant is in my
    security plugin block.

    Should I go ahead and enter it within that block?

    NOTE: Site currently offline as I am moving to a new host.

    Thank you!

    #1437057
    Leo
    Staff
    Customer Support

    Hi there,

    I’m not 100% sure how the security plugin handles this but worth a shot to see if that works.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.