Skip to:
Content

bbPress.org

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#2072 closed defect (fixed)

Function bbp_current_user_can_publish_topics using incorrect filter

Reported by: 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 9 years ago.

Download all attachments as: .zip

Change History (4)

#1 @johnjamesjacoby
9 years ago

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

@netweb
9 years ago

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