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

Props desrosj, usmankhalid.
Merges [43379] to the 4.9 branch.
Fixes #44353.
Built from https://develop.svn.wordpress.org/branches/4.9@43456


git-svn-id: http://core.svn.wordpress.org/branches/4.9@43283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2018-07-16 13:54:26 +00:00
parent 30b402c24b
commit 665b28aad0
2 changed files with 2 additions and 2 deletions

View File

@ -3281,7 +3281,7 @@ function wp_send_user_request( $request_id ) {
'action' => 'confirmaction', 'action' => 'confirmaction',
'request_id' => $request_id, 'request_id' => $request_id,
'confirm_key' => wp_generate_user_request_key( $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' ), 'sitename' => is_multisite() ? get_site_option( 'site_name' ) : get_option( 'blogname' ),
'siteurl' => network_home_url(), 'siteurl' => network_home_url(),
); );

View File

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