You need to adjust your filter call like so filter name, callback, priority, accepted args add_filter('login_redirect', 'mylogin_redirect', 10, 3).
You need to adjust your filter call like so; // filter name, callback, priority, accepted args add_filter('login_redirect', 'mylogin_redirect', 10, 3).
Tried it, didn't work. It still redirects me to ../wp-login. Php without the form.
The problem with the filter is that the parser doesn't get into the if block. Because if I remove the if block and replace it with return admin_url() statement, it works fine. – Joann Nov 24 '10 at 14:03 You should be using the $user variable passed to the function - i.e.
$user->ID instead of the global $user_ID. – TheDeadMedic Nov 24 '10 at 14:45 That worked! But wordpress doesn't seem to recognize this elseif( current_user_can( 'manage_options' )) { return admin_url();} .
Any idea? Thanks a lot! – Joann Nov 24 '10 at 15:25 wordpress.stackexchange.Com/questions/4492/… – TheDeadMedic Nov 24 '10 at 17:26 Thanks so much!
You just saved my day! :-) – Joann Nov 24 '10 at 18:21.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.