Clean Login – Frontend Login, Registration & Profile Forms changelog
By Alberto Hornero, on WordPress.org since 2014. 5,000+ active installs.
75 tagged releases, newest first. Dates are when each release was tagged in SVN. Notes come from the plugin's readme, which may not list every release.
-
- Fixed: the image of the letters CAPTCHA could be blank on some servers (PHP thread safe builds) because the fonts were loaded with a relative path
- PHP 8.5 compatibility: removed the calls to imagedestroy(), deprecated since PHP 8.5
- Tested with WordPress 7.2
-
- Fixed: the image of the letters CAPTCHA of the registration form was not shown since version 1.16 (a PHP error), so nobody could register while the CAPTCHA was enabled
- Fixed: when the page of a form already had parameters in its URL (for example ?lang=en with WPML, or a campaign link), the redirections after logging in, registering, updating the profile or restoring the password broke them with & and the message of the result was lost
- Below the status table of Settings → Clean Login, a line to import a list of users or export the ones who registered with Import and export users and customers, our free plugin (links to its screens when it is active). It replaces the suggestion of that plugin in the box of related plugins
- With Import and export users and customers 3.1.2, the login link of its welcome emails takes users to the Clean Login page
- New banner and screenshots, and a new plugin description
- Credits to Alberto Hornero, who created the plugin, in the description and in the settings screen
-
- WPML: new wpml-config.xml, so the “Lost password?” link text, the terms and conditions text and the new user email text of Settings → Clean Login can be translated in WPML → String Translation, and the text of [clean-login-logout] is sent to translation
- Fixed: with WPML, a redirect target that is not a post or a page (the home page, which is the default, an archive or an external URL) took the visitor to the wrong page, and logging out from the admin bar showed a blank page. Now the URL is translated to the visitor’s language, and the logout goes to the home page if there is no URL
- Fixed: with WPML, the Clean Login widget linked the pages of one language on every language
- Fixed: with WPML, moving one translation of a form page to the trash or unpublishing it removed the links to that form in every language. Now another published translation is used
- Thanks to the WPML compatibility team for the report
-
- New “More plugins by Codection” section in the plugin description
- The settings screen shows a box with our related plugins: the RedSys, Bizum and Ceca gateways for the plugins active on the site (WooCommerce, Paid Memberships Pro, GiveWP, forms, tickets…) on sites in Spanish, Catalan, Galician or Basque or with a WooCommerce store based in Spain, and the users import and export plugin and its addons on the rest
- Fewer links in the plugin row of the Plugins screen: only one link to our other plugins, the gateways in Spain and the premium addons elsewhere
- Links to our other plugins now include campaign parameters to know which ones are useful
-
- New: optional redirection of wp-login.php (and of wp-admin for visitors who are not logged in) to the [clean-login] page, in Settings → Clean Login → Login page redirection. The register and lost password screens go to the [clean-login-register] and [clean-login-restore] pages when they exist (registration only when “Anyone can register” is enabled, so in multisite the network registration of wp-signup.php is kept unless the site enables it), and the page the visitor wanted to open is kept so they get there after logging in. Logout, password reset links, password protected posts, the “session expired” box and any form sent to wp-login.php keep working as usual. It is only applied while the login page is published, and it can be turned off from wp-config.php with define( 'CLEAN_LOGIN_DISABLE_LOGIN_REDIRECT', true ); in case of lockout. In multisite it is set per site, and the constant disables it in the whole network
- New: Gutenberg blocks for every form (Login form, Register form, Restore password form, Edit profile form, Change password form and Logout link) in a “Clean Login” category, with a live preview in the editor (the login, register and restore forms are previewed even if you are logged in). Pages using the blocks are detected like the ones using the shortcodes, and the styles are loaded wherever a block is rendered, including block theme templates
- New: login page redirection checks in Settings → Clean Login. Before enabling the redirection they look for plugins that hide, rename or replace wp-login.php, security plugins with similar options, other plugins or themes using the login hooks, and open wp-login.php, wp-admin and the login page as a visitor. The redirection is not enabled while any check fails
- Security: the password restore link now uses the WordPress password reset key instead of a nonce, so it can only be used once and expires like the one of WordPress (1 day by default). Before, a leaked link could be opened again during 12-24 hours to log in as that user. Thanks to StickyFingaz420 for the responsible disclosure
- Fixed: a post type that cannot be viewed on its own (template parts, synced patterns, navigation menus…) could be taken as the login, register, restore, edit or change password page when it contained the shortcode or the block, so the forms pointed to it
- Fixed: the pages of the forms are forgotten when they are deleted permanently, not only when they are moved to the trash
And 4 more notes.
-
No notes for this release in the current readme.
-
- Fixed: when a password restore is requested for a username or email that does not exist (or the email cannot be sent), the error is always shown on the same restore page and the restore redirection is never applied. Only a successful request follows the redirection
-
- New: optional redirection after a password change (from [clean-login-change-password] or [clean-login-edit]), in Settings → Clean Login → Redirections. Filterable with clean_login_change_password_redirect_url
- New: optional redirection after a restore password request, once the email with the link has been sent. Filterable with clean_login_restore_redirect_url
-
- Security: the pages used by the plugin’s shortcodes (login, edit, register, restore and change password) can now only be set by users who can manage the plugin settings (administrators, or the capability set with the clean_login_admin_capability filter) and only from published content. Before, a Contributor or Author could replace them with a post of their own just by adding a shortcode to it
- Fixed: after clicking the reset link, users are now redirected to the [clean-login-change-password] page when it exists (it falls back to the [clean-login-edit] page, and otherwise a new password is generated)
-
- Fixed: the [clean-login-change-password] shortcode caused a critical error (and “Publishing failed” in the editor) because its template file was missing from the 1.20 package
-
- New: Google reCAPTCHA diagnostics in Settings → Clean Login — automatic checks (keys, theme template overrides without the reCAPTCHA box, cache/optimisation and cookie consent plugins that can block the Google script), a live test of the Site Key and Secret Key against Google, and an optional log of failed validations with the reason returned by Google
- Improved: reCAPTCHA answers are now verified with a POST request to Google and connection errors no longer trigger PHP warnings
-
- Security: registration handler now enforces WordPress’s “Anyone can register” setting server-side, closing a bug that let an unauthenticated visitor create an account even while registration was disabled (reported by Artus KG)
- Security: registration CAPTCHA can no longer be bypassed by submitting the form without loading the CAPTCHA image (reported by Arthur Morgan)
-
No notes for this release in the current readme.
-
- New: shortcode [clean-login-logout] — standalone logout link, usable anywhere on the site. Renders only for logged-in users and accepts an optional text attribute to customise the label
-
- New: shortcode [clean-login-change-password] — dedicated password change form, ideal as the destination after a password reset link
- New: password strength meter in [clean-login-change-password] with four animated levels (Weak / Fair / Good / Strong), fully translatable
- New: customisable “Lost password?” link text via Settings → Clean Login
- Fixed: error message not showing after failed login — redirect now uses the configured login page URL directly instead of relying on the HTTP referer
- SEO: login and registration pages automatically marked noindex, nofollow (compatible with Yoast SEO, RankMath and AIOSEO)
- SEO: canonical URL tag added to prevent duplicate content from query parameters
And 3 more notes.
-
- Documentation updated with upgrade notes for breaking changes introduced in 1.16
-
- Security issues fixed
- Code improvements
- Hooks renamed
-
- Ready for WordPress 6.9.4
- Now, when a user changes their email, the plugin no longer redirects them to profile.php in wp-admin. All the UI is handled within the plugin’s profile page
-
- Sanitized file templates variables
-
- Ready for WordPress 6.6
-
- Fixed a bug
-
- Ready for WordPress 6.4
- Compatible with PHP 8
-
- Ready for WordPress 6.3
- A mention of the WP Email Login plugin has been removed because it is not required
-
- Included a button to “Select all” items in the metabox added for nav menu items in 1.14
-
- Included a metabox in the nav menu items to make easier to link the pages managed by this plugin
-
- Included an eye in password field in edit profile form to make password visible if the eye is clicked and viceversa
-
- New hook added to force to generate and notify new password althought the edit profile page exists
-
- Links included
-
- Ready for WordPress 6.1.1
- In register form, the default role is validated to check if the one used in the shortcode is not valid
-
- Change email now can be handled into the plugin without being redirect to default WordPress profile page
-
- Ready for WordPress 6.0
- Fixed a bug in restore password controller, thanks to @modernwoe https://wordpress.org/support/topic/customise-notifications/
-
- Added more complexity to passwords generated when restoring passwords, now they have 12 characters and special characters in order to avoid problems with complexity password checker of WordPress
- Avoid multiple submits in forms if multiple clicks are done, thanks to Gerard Enter for suggesting these two new fixes
-
- Ready for WordPress 5.9
-
- Included labels tags in every form to improve accesibility
-
- Now you can hide the admin bar selecting roles, instead of only admins
-
- Bug fixed found in 1.12.9
-
- You can now redirect users after registering
-
- Force update to 1.12.8.2
-
- New bug fix in controller created in 1.12.8.1
-
- Included an eye in password field in login form to make password visible if the eye is clicked and viceversa
-
- Added optional reCaptcha to login form
-
- New hooks added to admin email notification
-
- New hooks added to email validation
-
- Variable escaped to prevent security problems (fixed the problem generated in previous version 1.12.6.3)
-
- If url GET parameter is present in a login page, the user will be redirected their instead of any other URL
-
- Ready for WordPress 5.8
- Added new hooks to override the default admin capability
-
- Fixed problem in hook with a non accesible variable
-
No notes for this release in the current readme.
-
- If page with a shortcode used is detected, Clean Login detects it and remove the link
- Fixed problem saving notification new email content
- Fixed problem that display links to not used shortcodes
-
- Fixed problem with WPML integration
-
- Fixed problem with login form and failed messages when prevent cache was activated
-
- More problems fixed in register form
-
- Different problems solved
-
- Fixed problem saving some options
-
- Hide admin bar functionality fixed
-
- Non-cache method in login page now is optional
- Code improvements
-
- Fixed bug in login action because of non-cache method
-
- Included a non-cache method to prevent problems with nonce in login form
-
- Included more aria-labels
-
- Nonce in activation emails are calculated in a different way to prevent problems checking them
-
- In the edit profile form, if you change the email, the standard WordPress change email notification is sent to avoid problems with unwanted changes
-
- Restore shortcode lost fixed
-
- Lost fixed widget
-
- aria-labels now can be translated
- id included in some tags to improve usability
-
- Code refactorized
- Error updating profile when email is hidden fixed
-
- Included aria-labels to improve accesibility
-
- Automatic password generated now it is hidden from url when you are reseting it
-
- New hooks added thanks again to @harrowmykel
-
- New hooks added thanks to @harrowmykel
- Nonces added in frontend forms thanks again to @harrowmykel
-
- Fixed captcha not displaying when register template was overriden thanks to @harrowmykel
-
- Added nonce in settings form
-
- Email optional using attribute of shortcode in [clean-login-edit]
-
- Email headers included instead of using a filter
-
- Include filter to validate emails with custom rules
-
- If a shortcode is removed, the url where is it saved is updated
- If a site does not allow register, plugin does not allow use shortcode for register, does not show register link in login form and it shows an error if you try to see a page with register shortcode
- Tested on WordPress 5.3