WordPress.org

Support

Support » Plugins and Hacks » [Resolved] CAPTCHA Error on "Edit Profile Page"

[Resolved] CAPTCHA Error on "Edit Profile Page"

  • bk_design
    Member

    @bk_design

    Hi Chad,

    I am having another issue with the “Edit My Information” form. When I click to edit my information and fill out the changes and click submit I get an error message “You must complete the CAPTCHA form”. The Captcha doesn’t show up on this page but I still get an error. Do you have any suggestions to getting this resolved?

    Thanks,
    Brad

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Chad Butler
    Participant

    @cbutlerjr

    Thanks for catching that as it certainly is a bug.

    The registration function is used for both new registration and updating a user. The field validation for the reCAPTCHA was conditional based on whether reCAPTCHA was turned on, but should be that AND if it’s a new registration (since the reCAPTCHA isn’t used on the edit page).

    So it’s an easy fix. I’m probably going to need to do a bug fix update which would be released as 2.5.3 as we’ve had a couple of bugs pointed out on the 2.5 series.

    The patch is to change line 45 in wp-members-register.php.

    It is currently:

    if (WPMEM_CAPTCHA == 1) {

    Change it to:

    if ( $toggle == 'register' && WPMEM_CAPTCHA == 1 ) {

    That will fix it.

    Thanks again!

    bk_design
    Member

    @bk_design

    Plugin Author Chad Butler
    Participant

    @cbutlerjr

    This bug is fixed in the 2.5.3 release

    http://wordpress.org/extend/plugins/wp-members

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] CAPTCHA Error on "Edit Profile Page"’ is closed to new replies.