Privacy: use wp_login_url() for the link in the user confirmation email.

Props desrosj, usmankhalid.
Fixes #44353.
Built from https://develop.svn.wordpress.org/trunk@43379


git-svn-id: http://core.svn.wordpress.org/trunk@43207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2018-06-28 02:43:47 +00:00
parent a89c86c711
commit be6aa715fe
2 changed files with 2 additions and 2 deletions

View File

@ -3359,7 +3359,7 @@ function wp_send_user_request( $request_id ) {
'action' => 'confirmaction',
'request_id' => $request_id,
'confirm_key' => wp_generate_user_request_key( $request_id ),
), site_url( 'wp-login.php' ) ),
), wp_login_url() ),
'sitename' => is_multisite() ? get_site_option( 'site_name' ) : get_option( 'blogname' ),
'siteurl' => network_home_url(),
);

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.0-alpha-43378';
$wp_version = '5.0-alpha-43379';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.