From 665b28aad0c9cdad896f4649c93647ba55cad641 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 16 Jul 2018 13:54:26 +0000 Subject: [PATCH] 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 --- wp-includes/user.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/user.php b/wp-includes/user.php index 3c1f416690..9cb9fb8223 100644 --- a/wp-includes/user.php +++ b/wp-includes/user.php @@ -3281,7 +3281,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(), ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 8887e83321..bfb83d5708 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @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.