WordPress.org

Ready to get started?Download WordPress

Forums

SimpleModal Login
redirect_to with multiple parameters breaks (1 post)

  1. kingjeffrey
    Member
    Posted 1 year ago #

    If you redirect to a URL with multiple GET parameters using wp_loginout(), your plugin breaks the response url.

    Specifically wp_loginout() escapes ampersands from & to & and your plugin does not revert them before redirecting to that url.

    I was able to resolve this by replacing:

    setTimeout(function () {window.location = href;}, 500);

    with:

    setTimeout(function () {window.location = href.replace('&', '&');}, 500);

    in each of the theme javascript files.

    http://wordpress.org/extend/plugins/simplemodal-login/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.