Skip to:
Content

bbPress.org

Opened 11 years ago

Closed 11 years ago

#2447 closed defect (bug) (duplicate)

profile topics and replies links are partly hardcoded

Reported by: rwatuny's profile rwatuny Owned by:
Milestone: Priority: normal
Severity: minor Version: 2.4
Component: Locale - i18n/l10n Keywords:
Cc:

Description

In bbpress/includes/users/template.php, the following functions uses hardcoded strings when they should use user defined slugs :

function bbp_get_user_topics_created_url,
line 1145 contains the string "topics"

$url  = $wp_rewrite->root . bbp_get_user_slug() . '/%' . bbp_get_user_rewrite_id() . '%/topics';

function bbp_get_user_replies_created_url
line 1205 contains the string "replies"

$url  = $wp_rewrite->root . bbp_get_user_slug() . '/%' . bbp_get_user_rewrite_id() . '%/replies';

An exemple of what could be done can be found in the bbp_favorites_permalink function in the same file.

Change History (1)

#1 @johnjamesjacoby
11 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Closing in favor of #2448 since it has a patch.

Thanks for the report!

Note: See TracTickets for help on using tickets.