With the increased popularity of WP-Members, there has been an increase in the active user base. This has led to the discovery of some bugs in the recent 2.5 series of releases. That requires a bug fix release.
WP-Members 2.5.3 addresses some key bugs that I feel require immediate attention:
- reCAPTCHA trying to validate on the User Edit page even though reCAPTCHA is not used on this page.
- Change password page allows empty fields.
- Additional username validation to prevent invalid (non-alphanumeric) characters in the username.
- Comments reply link did not allow a registered user to reply on an unblocked page/post.
I have fixed these issues as well as:
- Rebuild of the registration function. This was going to occur in the 2.6 release, but I had most of the work done prior to the bug fixes, so it’s being included now. This rebuild fine tunes the process, reducing the number of lines of code; and also updates some of the processes to better utilize WP functions.
- Review of the comments process. With the issue of the reply link being addressed, I reviewed the entire comments process. 2.5.2 had attempted to change the way the plugin approaches comments so that no additional code needed to be added to the theme (as in past versions). This improves ease of use for many non-technical users. At this point, comments should be blocked on blocked posts/pages, and viewable on unblocked content. If registration is required to comment (a WP setting), then registered users should be able to reply (bug fix) or non-registered users are prompted as such. Due to the infinite realm of possibilities, I still leave it to the end user to customize any of the comment login/register links.
- Added stripslashes to the create_formfield function for text input. With the fix of validating the username field for invalid characters, I realized we were not applying stripslashes to the front end registration fields. I’ve corrected that which provides a cleaner interface during the validation process if your name happens to be O’Toole or O’Brien.