Skip to:
Content

#4648 closed enhancement (fixed)

Add param to bp_get_activity_action() so timestamp can be skipped

Reported by: DJPaul Owned by:
Milestone: 1.7 Priority: normal
Severity: minor Version:
Component: Activity Keywords:
Cc:

Description

bp_get_activity_action() currently returns a timestamp suffixed to the activity->action text. There's no way of preventing the timestamp being suffixed to the text, which limits how the function can be used in theme templates.

Add a parameter to allow the timestamp to be skipped.

Change History (1)

comment:1 djpaul20 months ago

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

(In [6489]) Add parameter to bp_get_activity_action() to prevent the timestamp being appended to the action text. Fixes #4648

This was limiting how the function can be used in theme templates; some themes may want to show the timestamp somewhere else.

Note: See TracTickets for help on using tickets.