WP-Members: Membership Framework
[resolved] CAPTCHA Error on "Edit Profile Page" (4 posts)

  1. bk_design
    Posted 5 years ago #

    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?


  2. Chad Butler
    Plugin Author

    Posted 5 years ago #

    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!

  3. bk_design
    Posted 5 years ago #

  4. Chad Butler
    Plugin Author

    Posted 5 years ago #

    This bug is fixed in the 2.5.3 release


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP-Members: Membership Framework
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic