Skip to:

Opened 7 years ago

Closed 6 years ago

#7522 closed enhancement (fixed)

Use wp_login_url() instead of site_url() where needed

Reported by: slaffik's profile slaFFik Owned by: djpaul's profile djpaul
Milestone: 3.0 Priority: normal
Severity: normal Version:
Component: Core Keywords:


Currently we are using:
site_url( 'wp-login.php' )

I believe it should be replaced with wp_login_url().

Change History (3)

#1 @r-a-y
7 years ago

Looks good to me.

Feel free to commit when you have a chance.

#2 @DJPaul
6 years ago

  • Milestone changed from Awaiting Review to 3.0

#3 @djpaul
6 years ago

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

In 11698:

Core: use wp_login_url() instead of site_url().

Props slaFFik

Fixes #7522

Note: See TracTickets for help on using tickets.