Viewing 1 replies (of 1 total)
  • Thread Starter aryanmx

    (@aryanmx)

    ok found it

    in subscription/subscription.php line 482
    /* // Add exceptions for “profile” key.
    // Is there a custom url?
    if (!empty($this->options[$key . ‘_url’])) {
    header(‘Location: ‘ . self::add_qs($this->options[$key . ‘_url’], ‘nk=’ . $user->id . ‘-‘ . $user->token, false) . $params);
    die();
    }

    // Is there a dedicated page?
    if (!empty($this->options[‘url’])) {
    header(‘Location: ‘ . self::add_qs($this->options[‘url’], ‘nm=’ . $key . ‘&nk=’ . $user->id . ‘-‘ . $user->token, false) . $params);
    die();
    }*/

    // Use the standard page.
    //header(‘Location: ‘ . plugins_url(‘newsletter’) . ‘/subscription/page.php?nm=’ . $key . ‘&nk=’ . $user->id . ‘-‘ . $user->token . $params);
    header(‘Location: ‘ . $MY_BLOG_URL.’?nm=’ . $key); /*. ‘&nk=’ . $user->id . ‘-‘ . $user->token . $params);*/
    die();
    }

Viewing 1 replies (of 1 total)
  • The topic ‘Alternative custom page for already subscribed and error’ is closed to new replies.