WordPress.org

Ready to get started?Download WordPress

Forums

Login With Ajax
Incompatibility between Login With Ajax and WangGuard (Fix) (1 post)

  1. Jose Conti
    Member
    Posted 2 years ago #

    Hi,

    There is an incompatibility between Login with Ajax an WangGuard.

    http://wordpress.org/extend/plugins/wangguard/

    The problem is the way Login with Ajax work with/post the checkbox.

    Please, for fix this issue and make Logins with Ajax compatible with WangGuard, make this Fix:

    In login-with-ajax.source.js (not minified), in function getPostData() (Line 120)

    Look for this:

    postData[el.attr('name')] = el.attr('value');

    And change for this:

    if ( (el.attr('type') == 'checkbox') || (el.attr('type') == 'checkbox') ) {
        if (el.is(":checked"))
            postData[el.attr('name')] = el.attr('value');
    }
    else
        postData[el.attr('name')] = el.attr('value');

    That modification will fix the issue.

    Thank you

    http://wordpress.org/extend/plugins/login-with-ajax/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic