Skip to:
Content

bbPress.org

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#2216 closed defect (bug) (fixed)

Wrong variable name in bbp_get_topic_admin_links()

Reported by: alex-ye's profile alex-ye Owned by:
Milestone: 2.3 Priority: normal
Severity: normal Version: 2.2.3
Component: API - Actions/Filters Keywords: has-patch
Cc: nashwan.doaqan@…

Description

Hi bbPress Lovers , I found another tiny bug in bbPress source code , we should passing $r variable instead of $args in bbp_get_topic_admin_links filter .

Attachments (1)

topics-template-tags.patch (686 bytes) - added by alex-ye 13 years ago.
Passing $r variable instead of $args in bbp_get_topic_admin_links filter

Download all attachments as: .zip

Change History (5)

@alex-ye
13 years ago

Passing $r variable instead of $args in bbp_get_topic_admin_links filter

#1 @alex-ye
13 years ago

  • Cc nashwan.doaqan@… added

#2 @johnjamesjacoby
13 years ago

  • Milestone changed from Awaiting Review to 2.3

A few other template tags have this exact same issue.

#3 @johnjamesjacoby
13 years ago

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

Pass $r instead of $args in ending filters. Ensures correct array of arguments is available to filters. These were skipped as part of #2056. Props alex-ye. Fixes #2216.

#4 @netweb
13 years ago

The commit against this ticket is r4775

Note: See TracTickets for help on using tickets.