Skip to:
Content

Opened 5 years ago

Closed 5 years ago

#2525 closed defect (fixed)

Incorrect filter name in the bbp_get_forum_slug function

Reported by: icu0755 Owned by: johnjamesjacoby
Milestone: 2.6 Priority: normal
Severity: normal Version: trunk
Component: API - Actions/Filters Keywords:
Cc:

Description

Hello. Please take a look at line 508 (bbpress\includes\core\options.php).
The function bbp_get_forum_slug uses the same filter name (bbp_get_root_slug) as the function bbp_get_root_slug (line 462).
Using this filter name will cause 'Maximum function nesting level of '100' reached' error. Could you please change the filter name 'bbp_get_root_slug' to 'bbp_get_forum_slug' in the function bbp_get_forum_slug to avoid this issue.

Attachments (1)

2525.diff (536 bytes) - added by netweb 5 years ago.

Download all attachments as: .zip

Change History (3)

@netweb
5 years ago

#1 @johnjamesjacoby
5 years ago

  • Milestone changed from Awaiting Review to 2.6

#2 @johnjamesjacoby
5 years ago

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

In 5304:

Use correct filter name in bbp_get_forum_slug(). Props netweb. Fixes #2525.

Note: See TracTickets for help on using tickets.