Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#18293 closed defect (bug) (fixed)

site_url() used instead of home_url()

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

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 15 years ago.

Download all attachments as: .zip

Change History (8)

#1 @ocean90
15 years ago

  • Keywords needs-patch added

#2 @ocean90
15 years ago

  • Keywords reporter-feedback added

Where are the places?

#3 @johnbillion
15 years ago

  • Keywords reporter-feedback removed

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

@johnbillion
15 years ago

#4 @johnbillion
15 years ago

  • Keywords has-patch added; needs-patch removed
  • Version → 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
15 years ago

  • Milestone Awaiting Review → 3.4

#6 @ryan
15 years ago

  • Owner set to ryan
  • Resolution → fixed
  • Status new → closed

In [19674]:

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

#7 @ryan
15 years ago

In [19676]:

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

Note: See TracTickets for help on using tickets.