Make WordPress Core

Opened 14 years ago

Closed 12 years ago

Last modified 12 years ago

#16254 closed enhancement (duplicate)

Reset password message should show Site address, not WordPress address

Reported by: moskjis's profile moskjis Owned by:
Milestone: Priority: normal
Severity: minor Version: 3.0.4
Component: Administration Keywords: has-patch
Focuses: Cc:

Description

It's possible for site to have different address than the one Wordpress is in. If it's so, when site user has forgotten his / her password and resets it, the message he / she gets is like this:

Someone has asked to reset the password for the following site and username.
<Wordpress URL here>
Username: <username here>
To reset your password visit the following address, otherwise just ignore this email and nothing will happen.

<Wordpress URL here> should be changed to <Site URL here>

As to how to change: see attached patch.
network_site_url function changed to home_url function.

Attachments (2)

wp-login.patch (741 bytes) - added by moskjis 14 years ago.
wp-login.2.patch (749 bytes) - added by moskjis 14 years ago.

Download all attachments as: .zip

Change History (7)

@moskjis
14 years ago

#1 @nacin
14 years ago

  • Milestone changed from Awaiting Review to 3.1

Should be network_home_url().

#2 @moskjis
14 years ago

Agree, added updated patch: wp-login.2.patch.

Last edited 14 years ago by moskjis (previous) (diff)

@moskjis
14 years ago

#3 @nacin
14 years ago

  • Component changed from Mail to Administration
  • Keywords has-patch added
  • Milestone changed from 3.1 to Future Release

Not a regression.

#4 @SergeyBiryukov
12 years ago

  • Milestone Future Release deleted
  • Status changed from new to closed

Duplicate of #19767. Fixed in [19705].

#5 @SergeyBiryukov
12 years ago

  • Resolution set to duplicate
Note: See TracTickets for help on using tickets.