WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#19199 closed defect (bug) (fixed)

use wp_lostpassword_url() in wp-login.php

Reported by: ramiy Owned by: 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 2 years ago.
19199-with-wp_login_url.patch (2.3 KB) - added by ramiy 2 years ago.
wp_lostpassword_url() & wp_login_url()

Download all attachments as: .zip

Change History (6)

ramiy2 years ago

ramiy2 years ago

wp_lostpassword_url() & wp_login_url()

comment:1 nacin2 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.

comment:2 SergeyBiryukov2 years ago

  • Milestone changed from Awaiting Review to 3.3

comment:3 follow-up: nacin2 years ago

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

comment:4 in reply to: ↑ 3 ramiy2 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.