• zulkiflagha

    (@zulkiflagha)


    I am facing an issue where inside my theme I see a file functions.php where the start line code displayed as:

    <?php
    // File Security Check
    if ( ! empty( $_SERVER['SCRIPT_FILENAME'] ) && basename( __FILE__ ) == basename( $_SERVER['SCRIPT_FILENAME'] ) ) {
        die ( 'You do not have sufficient permissions to access this page!' );
    }
    ?>

    So now when i login via wp-admin.php it gives me as error “You do not have sufficient permissions to access this page!”

    How to set it up?

Viewing 1 replies (of 1 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    What theme is that? It looks like it’s an attempt to block a direct access to to example.com/themes/yourtheme/functions.php, but not well done.

Viewing 1 replies (of 1 total)
  • The topic ‘You do not have sufficient permissions to access this page!’ is closed to new replies.