Skip to:
Content

BuddyPress.org

Opened 12 years ago

Closed 12 years ago

Last modified 5 years ago

#4648 closed enhancement (fixed)

Add param to bp_get_activity_action() so timestamp can be skipped

Reported by: djpaul's profile 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 (2)

#1 @djpaul
12 years 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.

#2 @r-a-y
5 years ago

In 12564:

Activity: Minor PHPDoc audit for bp_get_activity_action() function.

See #8234, #4648.

Note: See TracTickets for help on using tickets.