Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 12 years ago

#2549 closed defect (bug) (fixed)

Some links in bp-default break when site URL != blog URL

Reported by: boonebgorges's profile boonebgorges Owned by: r-a-y's profile r-a-y
Milestone: 1.8 Priority: normal
Severity: normal Version:
Component: Core Keywords: needs-patch
Cc:

Description

A bunch of links throughout bp-default are created using site_url(). That works most of the time, unless someone does this: http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory. Using blog_url() should fix that particular issue, but I'll have to fish through to see if it'll cause other problems.

Change History (6)

#1 @boonebgorges
14 years ago

  • Milestone changed from 1.3 to 1.4

#2 @DJPaul
13 years ago

  • Severity set to major

We got a lot of these in 1.5, but should audit for 1.6

#3 @johnjamesjacoby
13 years ago

Agreed. Our site vs home vs blog URL functions all need a look.

#4 @boonebgorges
13 years ago

  • Milestone changed from 1.6 to Future Release
  • Severity changed from major to minor

We'll move this back if someone can provide a patch.

#5 @r-a-y
12 years ago

  • Keywords needs-patch added
  • Milestone changed from Future Release to 1.8
  • Owner set to r-a-y
  • Priority changed from minor to normal
  • Severity changed from minor to normal
  • Status changed from new to assigned

Did a quick search for site_url() and this issue is still valid I'm afraid.

Assigning to me and putting this in the 1.8 milestone.

#6 @r-a-y
12 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 6975:

Audit home_url() vs. site_url() usage. Fixes #2549.

Also replace instances of site_url() concatenation with native BP functions.

Note: See TracTickets for help on using tickets.