[wp-trac] [WordPress Trac] #44353: Replace `site_url( 'wp-login.php' )` in `wp_send_user_request()`
WordPress Trac
noreply at wordpress.org
Tue Jun 12 15:37:51 UTC 2018
#44353: Replace `site_url( 'wp-login.php' )` in `wp_send_user_request()`
--------------------------+-----------------------------
Reporter: 7studio | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Privacy | Version: 4.9.6
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
According to this old issue #31495, we should use `site_url( 'wp-
login.php', 'confirmaction' )` instead of `site_url( 'wp-login.php' )` in
the function `wp_send_user_request()` there
[https://github.com/WordPress/WordPress/blob/3ee58b55b14683af4c568bce1845c37408c88fbb
/wp-includes/user.php#L3336]
This change would be appreciable to help plugins which hide the login URL
to not replace this link by the new secret login URL or/and replace easily
the login URL part in the link to click on to confirm the account action.
Hope you will consider this ticket and it contributes to WP.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44353>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list