Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#18293 closed defect (bug) (fixed)

site_url() used instead of home_url()

Reported by: johnbillion's profile johnbillion Owned by: ryan's profile ryan
Milestone: 3.4 Priority: normal
Severity: normal Version: 3.2.1
Component: General Keywords: has-patch
Focuses: Cc:

Description

There's a couple of places where home_url() should be used instead of site_url(). Patch coming up.

Attachments (1)

18293.patch (2.4 KB) - added by johnbillion 13 years ago.

Download all attachments as: .zip

Change History (8)

#1 @ocean90
13 years ago

  • Keywords needs-patch added

#2 @ocean90
13 years ago

  • Keywords reporter-feedback added

Where are the places?

#3 @johnbillion
13 years ago

  • Keywords reporter-feedback removed

Oops, this slipped my mind. Patch coming up. Nothing major.

@johnbillion
13 years ago

#4 @johnbillion
13 years ago

  • Keywords has-patch added; needs-patch removed
  • Version set to 3.2.1

Patch replaces a few occurrences of site_url() with home_url().

Background: site_url() returns a URL with an https protocol for sites that use administration over SSL. home_url() returns the home URL with the correct protocol.

#5 @ryan
13 years ago

  • Milestone changed from Awaiting Review to 3.4

#6 @ryan
13 years ago

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

In [19674]:

Use home_url() instead of site_url(). Props johnbillion. fixes #18293

#7 @ryan
13 years ago

In [19676]:

Use home_url() instead of site_url(). Props johnbillion. fixes #18293

Note: See TracTickets for help on using tickets.