Opened 17 years ago
Closed 17 years ago
#841 closed defect (bug) (fixed)
Replace site_url() with $bp->root_domain
| Reported by: | johnjamesjacoby | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.1 |
| Component: | Version: | ||
| Severity: | Keywords: | has-patch | |
| Cc: |
Description
Everywhere else, BuddyPress uses $bp->root_domain to reference the root URL where a "/" follows it. In this case, using site_url() creates an inconsistency where plugins may previously filter site_url().
This can result in a double "/" situation that may not be caught by the affecting plugin, or that cannot be predicted due to the nature of the way WordPress builds URLs.
I know this sounds crazy, but trust me on this one.
Attachments (2)
Change History (7)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Patch for bp-activity-templatetags.php