From be6aa715fedb64fba8a848706e050f489c56df82 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Thu, 28 Jun 2018 02:43:47 +0000 Subject: [PATCH] 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 --- 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 ee7dd4a5b1..472d0f8642 100644 --- a/wp-includes/user.php +++ b/wp-includes/user.php @@ -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(), ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 3670b5251c..4c276d1ee2 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.