Support » Plugins » [Plugin: Members] Problem in form redirect_to variable

  • Damian


    Hi guys you got a problem in the last version of the plugin.

    I got my wordpress installation under 2 directories.

    In the forms to login the redirect always goes to instead of sub1/wordpress/page-name

    its happening on the forms in sidebar and in pages.

    To fix it i changed in widget-login-form-php line 67:
    ` if ( !empty( $instance[‘redirect’] ) )
    $args[‘redirect’] = esc_url( $instance[‘redirect’] );`
    `if ( !empty( $instance[‘redirect’] ) ) :
    $args[‘redirect’] = esc_url( $instance[‘redirect’] );
    else :
    $args[‘redirect’] = get_permalink( );

    Keep the great work!!

  • The topic ‘[Plugin: Members] Problem in form redirect_to variable’ is closed to new replies.