is_user_logged_in failing when using Facebook login
-
Hi there… hopefully you can help me out. The plugin works great, however when I login, no matter which page I am redirected to, the WordPress function is_user_logged_in returns false when it should be true as the user has just logged in. I’ve tried doing this check using
if( isset($_COOKIE['wordpress_logged_in_'.COOKIEHASH]) ):
but the same happened; the cookie is there, the plugin is login the user in but something else is making this check fail. The weird thing is that this is only happening when login in through the plugin.If I refresh the page, the function or the wordpress_logged_in isset comprobation works great.
Any ideas? I’m driving myself crazy…
Thanks!
- The topic ‘is_user_logged_in failing when using Facebook login’ is closed to new replies.