Make WordPress Core

Changeset 61321


Ignore:
Timestamp:
11/29/2025 12:34:13 PM (5 months ago)
Author:
SergeyBiryukov
Message:

Login and Registration: Remove redundant login URL at the end of new user notification.

This became unnecessary (and confusing) after the plaintext password was removed from the email, and the URL to set a new password was added directly above in WordPress 4.3.

Follow-up to [2872], [8058], [10931], [33023].

Props clayray, manhphucofficial, pratiklondhe, johnbillion, SergeyBiryukov.
Fixes #64316.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/pluggable.php

    r61201 r61321  
    23802380         * @see https://core.trac.wordpress.org/tickets/42957
    23812381         */
    2382         $message .= network_site_url( 'wp-login.php?login=' . rawurlencode( $user->user_login ) . "&key=$key&action=rp", 'login' ) . "\r\n\r\n";
    2383 
    2384         $message .= wp_login_url() . "\r\n";
     2382        $message .= network_site_url( 'wp-login.php?login=' . rawurlencode( $user->user_login ) . "&key=$key&action=rp", 'login' ) . "\r\n";
    23852383
    23862384        $wp_new_user_notification_email = array(
Note: See TracChangeset for help on using the changeset viewer.