Skip to:
Content

bbPress.org

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#2448 closed defect (fixed)

Front end User's profile topics & replies slug trouble

Reported by: imath Owned by: johnjamesjacoby
Milestone: 2.4.1 Priority: normal
Severity: normal Version: 2.4
Component: Component - Users Keywords: has-patch
Cc:

Description

Hi,

I've noticed that topics and replies slugs were hardcoded in /includes/users/template.php in functions :

  • bbp_get_user_topics_created_url() at line 1315
  • bbp_get_user_replies_created_url() at line1375

I suggest to respectively use :

  • bbp_get_topic_archive_slug() instead of 'topics'
  • bbp_get_reply_archive_slug() instead of 'replies'

Else, the customized slugs set from forum settings is not working. I've attached a diff to this ticket

Attachments (1)

2448.diff (1.1 KB) - added by imath 6 years ago.

Download all attachments as: .zip

Change History (5)

@imath
6 years ago

#1 @alexvorn2
6 years ago

dublicate #2447

#2 @johnjamesjacoby
6 years ago

  • Milestone changed from Awaiting Review to 2.4.1
  • Version changed from trunk to 2.4

Moving to 2.4.1 since this was introduced in the latest release.

#3 @johnjamesjacoby
6 years ago

  • Owner set to johnjamesjacoby
  • Resolution set to fixed
  • Status changed from new to closed

In 5125:

Remove hardcoded references to 'topics' and 'replies' in user profile URL's; use archive slug functions instead. Props imath. Fixes #2448. (2.4.1)

#4 @johnjamesjacoby
6 years ago

In 5126:

Remove hardcoded references to 'topics' and 'replies' in user profile URL's; use archive slug functions instead. Props imath. Fixes #2448. (2.5)

Note: See TracTickets for help on using tickets.