Skip to:
Content

bbPress.org

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#2072 closed defect (bug) (fixed)

Function bbp_current_user_can_publish_topics using incorrect filter

Reported by: netweb's profile netweb Owned by:
Milestone: 2.2.3 Priority: normal
Severity: normal Version: 2.2.2
Component: API - Actions/Filters Keywords: needs-patch
Cc:

Description

The function 'bbp_current_user_can_publish_topics' in /includes/users/template-tags.php#L1479 is incorrectly applying 'bbp_current_user_can_publish_forums' when it should be using 'bbp_current_user_can_publish_topics'

Hat Tip: Michael via bbPress.org forums

Attachments (1)

2072.diff (516 bytes) - added by netweb 12 years ago.

Download all attachments as: .zip

Change History (4)

#1 @johnjamesjacoby
12 years ago

  • Keywords needs-patch added; has-patch removed
  • Milestone changed from Awaiting Review to 2.2.3

@netweb
12 years ago

#2 @johnjamesjacoby
12 years ago

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

(In [4531]) Topics:

  • Use correct filter in bbp_current_user_can_publish_topics().
  • Props netweb.
  • Fixes #2072 (2.2 branch)

#3 @johnjamesjacoby
12 years ago

(In [4532]) Topics:

  • Use correct filter in bbp_current_user_can_publish_topics().
  • Props netweb.
  • Fixes #2072 (trunk)
Note: See TracTickets for help on using tickets.