WordPress.org

Forums

Login LockDown
Please fix Has Cap! (3 posts)

  1. cogmios
    Member
    Posted 4 years ago #

  2. maxxwayne
    Member
    Posted 4 years ago #

    Login Lockdown:

    add_options_page('Login LockDown', 'Login LockDown', 'manage_options', basename(__FILE__), 'print_loginlockdownAdminPage');

    instead

    add_options_page('Login LockDown', 'Login LockDown', 0, basename(__FILE__), 'print_loginlockdownAdminPage');

    in loginlockdown.php

    The databases table you can create it yourself.

    Its solves your problems this time.

  3. jrf
    Member
    Posted 3 years ago #

    +1

    And to clarify/make it easier to fix:

    In file loginlockdown.php, find line 299:
    add_options_page('Login LockDown', 'Login LockDown', 9, basename(__FILE__), 'print_loginlockdownAdminPage');

    and change it to:
    add_options_page('Login LockDown', 'Login LockDown', 'manage_options', basename(__FILE__), 'print_loginlockdownAdminPage');

    (line number based on the latest public version, v1.5)

    Smile,
    Juliette

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic