Skip to:
Content

BuddyPress.org

Opened 14 years ago

Closed 14 years ago

#2569 closed defect (bug) (fixed)

[patch] Register Update Actions

Reported by: jeffsayre's profile jeffsayre Owned by: jeffsayre's profile jeffsayre
Milestone: 1.2.6 Priority: major
Severity: Version:
Component: Core Keywords: has-patch, activity actions, activity registrations, privacy
Cc:

Description

Currently all activities of each of the core components are registered with the activity component by hooking into the bp_register_activity_actions action hook and calling the bp_activity_set_action() function. However, there is one exception. The update action is not registered. Whereas the update action ( recorded as ‘activity_update’ ), does get recorded whenever someone posts a new update, this action is not registered with the activity component.

The included patch corrects this oversight, registering the ‘activity_update’ in the same manner that all the other core components’ activity actions are registered. This change will allow the Privacy Component to enable a given user to set access rights to the viewing of their updates. It will also allow for the successful privacy filtering of this activity action.

Attachments (1)

jeffsayre_2569_button.patch (762 bytes) - added by jeffsayre 14 years ago.
Register update activity in bp-activity.php by adding a new function, updates_register_activity_actions()

Download all attachments as: .zip

Change History (2)

@jeffsayre
14 years ago

Register update activity in bp-activity.php by adding a new function, updates_register_activity_actions()

#1 @johnjamesjacoby
14 years ago

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

(In [3167]) Fixes #2569 props jeffsayre

Note: See TracTickets for help on using tickets.