Skip to content

Default registration link being hijacked/broken by SimpleModal #6

@pdemaria

Description

@pdemaria

I'm seeing an issue with SimpleModal Login on the default WordPress registration page, it basically breaks the registration link.

The plugin loads javascript and CSS assets on the login page but doesn't load any of it's other assets (modal forms for example).

The click handler for the registration form is fired because the hook is there to fire it, which results in the login form being hidden and the link to the actual registration form being unusable.

I've tried conditionally removing the actions that load those assets on the login page but haven't had any success... The below is the quickest workaround I've found but it seems like this issue should really be resolved at the plugin level...

jQuery(document).ready(function(){
    jQuery('.simplemodal-login, .simplemodal-register, .simplemodal-forgotpw').die();
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions