WordPress.org

Support

Support » Plugins and Hacks » [Plugin: SimpleModal Login] redirect_to with multiple parameters breaks

[Plugin: SimpleModal Login] redirect_to with multiple parameters breaks

  • 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/

  • The topic ‘[Plugin: SimpleModal Login] redirect_to with multiple parameters breaks’ is closed to new replies.