Viewing 1 replies (of 1 total)
  • Thread Starter kjohnson_2

    (@kjohnson_2)

    To fix this, you might consider modifying line 66 of wordpress-login-redirect.php like this:

    add_management_page( 'Login Redirect', 'Login Redirect', 'edit_users', 'thisismyurl_wordress_login_redirect.php', 'thisismyurl_wordress_login_redirect_options' );

    Or choosing some other capability of your choice as an alternative to edit_users.

    https://codex.www.ads-software.com/Roles_and_Capabilities

    Regards,
    KJ

Viewing 1 replies (of 1 total)
  • The topic ‘has_cap called with user levels?’ is closed to new replies.