Skip to:
Content

BuddyPress.org

Opened 3 years ago

Closed 3 years ago

#8937 closed defect (bug) (fixed)

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

Reported by: imath Owned by: imath
Priority: high Milestone: 12.0.0
Component: Core Version:
Severity: major 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.


3 years 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
3 years ago

  • Resolution → fixed
  • Status assigned → 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.