[wp-trac] [WordPress Trac] #40728: Added urlencode on wp_lostpassword_url()
WordPress Trac
noreply at wordpress.org
Sun Jul 23 01:02:17 UTC 2017
#40728: Added urlencode on wp_lostpassword_url()
------------------------------------+-----------------------------
Reporter: adhun | Owner: johnbillion
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 4.9
Component: Login and Registration | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: administration
------------------------------------+-----------------------------
Changes (by johnbillion):
* owner: => johnbillion
* status: new => reviewing
* version: 4.8 =>
Comment:
This actually has nothing to do with server configuration. The URL should
be encoded as per @adhun's patch, otherwise any query parameters that are
included in the URL that's passed to `wp_lostpassword_url()` will be
treated as query parameters on the lost password URL.
@adhun's patch is correct, and mirrors behaviour in other functions such
as `wp_logout_url()` and `wp_login_url()`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40728#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list