[Plugin: WP-FacebookConnect] Login Bug?
-
After logging in with this plugin, I would sometimes see the white screen of death, and other times all the content on my page would disappear. I found this in functions.php line 49:
FB.Event.subscribe('auth.sessionChange', function(response) { if (response.session) { jQuery('body').html(''); window.location.href=window.location.href; } else { jQuery('body').html(''); window.location.href=window.location.href; } });
And changed it to this:
FB.Event.subscribe('auth.sessionChange', function(response) { location.replace("<?php echo bloginfo("url"); ?>"); });
[Please post code snippets between backticks or use the code button.]
Now everything works.
- The topic ‘[Plugin: WP-FacebookConnect] Login Bug?’ is closed to new replies.