WordPress.org

Ready to get started?Download WordPress

Forums

WP-FacebookConnect
Login Bug? (1 post)

  1. jtrost
    Member
    Posted 3 years ago #

    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.

    http://wordpress.org/extend/plugins/wp-facebookconnect/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 3 years ago by jtrost
  • This topic is not a support question
  • WordPress version: 3.1