Skip to:
Content

bbPress.org

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#2448 closed defect (bug) (fixed)

Front end User's profile topics & replies slug trouble

Reported by: imath's profile imath Owned by: johnjamesjacoby's profile 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 11 years ago.

Download all attachments as: .zip

Change History (5)

@imath
11 years ago

#1 @alexvorn2
11 years ago

dublicate #2447

#2 @johnjamesjacoby
11 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
11 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
11 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.