Skip to:
Content

BuddyPress.org

#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
Cc:

Description

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.


18 months ago
#1

  • Keywords has-patch added; needs-patch removed

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

Trac ticket: https://buddypress.trac.wordpress.org/ticket/8937

#2 @imath
18 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
Closes https://github.com/buddypress/buddypress/pull/131

Note: See TracTickets for help on using tickets.