[wp-trac] [WordPress Trac] #49860: Update to wp-login.php
WordPress Trac
noreply at wordpress.org
Thu Apr 9 15:08:04 UTC 2020
#49860: Update to wp-login.php
------------------------------------+------------------------------
Reporter: ttodua | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Login and Registration | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
------------------------------------+------------------------------
Comment (by Otto42):
The `allow_password_reset` file actually does work as intended, as it is
intended to provide a way to allow password resets to be disabled on a
per-user basis. It takes both a truthy value and a user ID number. This is
so that if you want password resets to be disabled for important accounts
(example, admins) then you can have them coded to not allow it for those
accounts specifically.
If you want to hide the password reset process entirely, then that would
be a matter of adding a different system of filters or actions. The
existing filter for `allow_password_reset` would not make sense to
override this functionality.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49860#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list