Opened 15 years ago
Closed 15 years ago
#841 closed defect (bug) (fixed)
Replace site_url() with $bp->root_domain
Reported by: | johnjamesjacoby | Owned by: | |
---|---|---|---|
Milestone: | 1.1 | Priority: | minor |
Severity: | Version: | ||
Component: | 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.
Patch for bp-activity-templatetags.php