Plugin Directory

Changeset 657348


Ignore:
Timestamp:
01/23/2013 12:02:14 PM (13 years ago)
Author:
codebycarter
Message:

Fixes facebook registration form not displaying under default permalink settings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-bulletin-board/tags/1.1.1/php/facebook/wpbb-facebook.php

    r637712 r657348  
    3434        Registering for a Wordpress account through Facebook
    3535    */
    36     if ((isset($_GET['register'])) && (isset($_GET['method'])) && (count($_GET) == 2)) {
     36    if (isset($_GET['register']) && isset($_GET['method'])) {
     37        if (count($_GET) == 2 || count($_GET) == 3) {
    3738   
    3839        $registration_enabled = get_option('users_can_register');
     
    6869
    6970        echo "<iframe src='https://www.facebook.com/plugins/registration?client_id=".$fb_options['facebook_app_id']."&redirect_uri=".$fb_options['facebook_redirect_uri']."&fields=".$fields."'scrolling='auto'frameborder='n'style='border:none'allowTransparency='true'width='100%'height='330'></iframe>";
    70    
     71    }
    7172    } else if (isset($_GET['state']) || isset($_GET['code'])) {
    7273   
Note: See TracChangeset for help on using the changeset viewer.