Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#19199 closed defect (bug) (fixed)

use wp_lostpassword_url() in wp-login.php

Reported by: ramiy's profile ramiy Owned by: nacin's profile nacin
Milestone: 3.3 Priority: normal
Severity: normal Version: 3.3
Component: Users Keywords: has-patch
Focuses: Cc:

Description

related: #18808

use wp_lostpassword_url() instead of using site_url( 'wp-login.php?action=lostpassword' ) in wp-login.php.

Attachments (2)

19199.patch (657 bytes) - added by ramiy 14 years ago.
19199-with-wp_login_url.patch (2.3 KB) - added by ramiy 14 years ago.
wp_lostpassword_url() & wp_login_url()

Download all attachments as: .zip

Change History (6)

@ramiy
14 years ago

@ramiy
14 years ago

wp_lostpassword_url() & wp_login_url()

#1 @nacin
14 years ago

  • Owner set to nacin
  • Resolution set to fixed
  • Status changed from new to closed

In [19281]:

Use wp_login_url() where possible in wp-login.php. props ramiy for initial patch. Escape with a tin foil hat. fixes #19199.

#2 @SergeyBiryukov
14 years ago

  • Milestone changed from Awaiting Review to 3.3

#3 follow-up: @nacin
14 years ago

We can't use wp_lostpassword_url() in that one spot because the protocol is login_post, rather than login.

#4 in reply to: ↑ 3 @ramiy
14 years ago

Replying to nacin:

We can't use wp_lostpassword_url() in that one spot because the protocol is login_post, rather than login.

you are right, now i see that.

Note: See TracTickets for help on using tickets.