Support » Plugin: Mozilla Persona (BrowserID) » [Plugin: Mozilla BrowserID] [Plugin: BrowserID] Redirect Bug?

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m not sure what is going on here, this is very confusing. But this hasn’t occurred with the latest development version.
    So resolved.

    John D'Orazio


    I think I found the problem, because redirect always goes to wp-admin even if I set it in the options to the homepage.
    In the function “Handle_login()“, I tried:

    $string = var_export($options);

    to see the value of $options, and it was NULL !
    I think you forgot to call:
    $options = get_option('browserid_options');
    at the beginning of the function “Handle_login()“, as you do in other functions. In fact, adding that line, as so:

    function Handle_login($result, $rememberme) {
      $options = get_option('browserid_options');

    fixed everything for me. Now $options is a valid array, and the redirect works perfectly.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Mozilla BrowserID] [Plugin: BrowserID] Redirect Bug?’ is closed to new replies.