Arrow

Loging redirects settings available to non-admins? | Peter's Login Redirect | Forum

Back to the login redirect plugin page

Please consider registering
guest

Log In

Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

   

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Loging redirects settings available to non-admins?
August 6, 2010
7:28 pm
Kory
Guest

Awesome plugin. Just what I was looking for!

I noticed that non-admin roles (specifically the editor role) have access to the Login redirects settings. Was this by design? Is there a quick tweak I can make to make it admin-only?

Thanks for your "useful crap" ;) Keep up the good work!

August 6, 2010
7:38 pm
Kory
Guest

ah... yeah... think I wanted the author role instead... thanks... great plugin!

August 6, 2010
11:42 pm
Peter
Admin
Forum Posts: 841
Offline

In the plugin file there is this line:

add_options_page('Login redirects', 'Login redirects', 7, 'wplogin_redirect.php', 'rul_optionsmenu');

You can change the number 7 to any of the WordPress capabilities, such as 'manage_options'.