[wp-trac] [WordPress Trac] #62485: Lost Password form action URL is not using wp_lostpassword_url
WordPress Trac
noreply at wordpress.org
Thu Nov 21 06:39:47 UTC 2024
#62485: Lost Password form action URL is not using wp_lostpassword_url
------------------------------------+------------------------------
Reporter: talextech | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Login and Registration | Version:
Severity: minor | Resolution:
Keywords: has-patch | Focuses:
------------------------------------+------------------------------
Changes (by talextech):
* severity: normal => minor
Comment:
Well, you don't necessarily need a new action. You could have just
customized the login URL.
But after going over it a bit more, changing anything here might be more
work than it's worth, involve way too many edge cases and potentially
breaking 3rd party code.
1. The same issue applies to the registration form which also has the
registraion URL hardcoded.
2. If you just filter site_url and network_site_url and replace wp-
login.php there it should achieve customizing the login URL just as well.
3. If we change the action URL for registration and lost password we would
still be using site_url() in other places and things won't be uniform
anymore.
So unless anyone else thinks there's something worth pursuing here I guess
this ticket can be closed. I wanted a core contribution 😁 but this isn't
something that needs any fix.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62485#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list