Make WordPress Core

Changeset 43456


Ignore:
Timestamp:
07/16/2018 01:53:43 PM (6 years ago)
Author:
SergeyBiryukov
Message:

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.

Location:
branches/4.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.9

  • branches/4.9/src/wp-includes/user.php

    r43452 r43456  
    32823282            'request_id'  => $request_id,
    32833283            'confirm_key' => wp_generate_user_request_key( $request_id ),
    3284         ), site_url( 'wp-login.php' ) ),
     3284        ), wp_login_url() ),
    32853285        'sitename'    => is_multisite() ? get_site_option( 'site_name' ) : get_option( 'blogname' ),
    32863286        'siteurl'     => network_home_url(),
Note: See TracChangeset for help on using the changeset viewer.