[buddypress-trac] [BuddyPress] #4239: Fix filter parameters in groups_update_group_forum_post()
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Tue Jun 5 02:46:04 UTC 2012
#4239: Fix filter parameters in groups_update_group_forum_post()
--------------------------+-----------------------------
Reporter: r-a-y | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Forums | Version:
Severity: normal | Keywords: has-patch
--------------------------+-----------------------------
In the `groups_update_group_forum_post()` function, the
'`groups_activity_new_forum_post_action`' and
'`groups_activity_new_forum_post_content`' filters were using the wrong
parameters instead of those originally set in
`groups_new_group_forum_post()`.
The attached patch against r6059 makes sure these parameters are the same.
The patch also:
* Removes global $bp references for native BP functions in bp-group-
forums.php
* Adds PHPDoc throughout bp-group-forums.php
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4239>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list