Skip to:

#8937 closed defect (bug) (fixed)

Some BP links set using `home_url()` were missed during the BP Rewrites migration tasks

Reported by: imath's profile imath Owned by: imath's profile imath
Milestone: 12.0.0 Priority: high
Severity: major Version:
Component: Core Keywords: has-patch


Here are some examples that should fail as soon as custom slugs are set:

  • bp_get_activity_comment_form_action()
  • bp_get_activity_favorite_link()
  • bp_get_activity_unfavorite_link()
  • bp_get_activity_post_form_action()
  • bp_core_action_search_site()
  • default $feed_url in bp_legacy_theme_activity_template_loader()

See #4954

Change History (2)

This ticket was mentioned in PR #131 on buddypress/buddypress by @imath.

12 months ago

  • Keywords has-patch added; needs-patch removed

Make sure to use BP Rewrites API instead of home_url()

Trac ticket:

#2 @imath
12 months ago

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

In 13520:

Use BP Rewrites API functions instead of home_url() to build links

See #4954
Fixes #8937

Note: See TracTickets for help on using tickets.