Arrow

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

Back to the login redirect plugin page
 
Current User: Guest
Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Loging redirects settings available to non-admins?

Reply to Post Add a New Topic
UserPost

7:28 pm
August 6, 2010


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!

7:38 pm
August 6, 2010


Kory

Guest

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

11:42 pm
August 6, 2010


Peter

Admin

posts 732

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'.

Reply to Post

Reply to Topic:
Loging redirects settings available to non-admins?

Guest Name (Required):

Guest Email (Required):

HTML Editor
Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
6 + 3