• Resolved IgorVuze

    (@igorvuze)


    We are using pro version.
    I have made two patches in our local working copy of the module.
    You might want to apply it to code in plugin’s repository.

    1. In front-end/login.php in wppb_login_redirect function you have the following around line 140:
    apply_filters( 'wppb_after_login_redirect_url', $redirect_to );
    I changed it to:
    $redirect_to = apply_filters( 'wppb_after_login_redirect_url', $redirect_to );
    otherwise it has no effect.

    2. In modules/custom-redirects/custom-redirects.php it seems there is a typo when specifying key for redirect type.
    In wppb_redirect_default_wp_pages() function around lines 253 and 267 there are line:
    $redirect_url = wppb_custom_redirect_url( 'login' )
    and $redirect_url = wppb_custom_redirect_url( 'login' );
    I changed it to:
    $redirect_url = wppb_custom_redirect_url( 'after_login' );
    and $redirect_url = wppb_custom_redirect_url( 'after_logout' );

    https://wordpress.org/plugins/profile-builder/

Viewing 1 replies (of 1 total)
  • Hi,

    Thank you for reporting this.

    Can you submit a support ticket with your request because we are not allowed to offer support for premium plugins on these forums.

    I will wait for your ticket and I will mark this post as resolved.

    Best regards,

Viewing 1 replies (of 1 total)

The topic ‘Possible bugs and suggested fixes’ is closed to new replies.