Skip to:

Opened 10 years ago

Closed 10 years ago

#5392 closed enhancement (fixed)

Add parameters to bp_blog_last_active() and bp_blog_latest_post().

Reported by: lenasterg's profile lenasterg Owned by: boonebgorges's profile boonebgorges
Milestone: 2.1 Priority: low
Severity: minor Version: 1.9.2
Component: Blogs Keywords: needs-unit-tests


By adding parameters to bp_blog_last_active() and bp_blog_latest_post() it is easier for non English installations to hide the 'active' / 'latest post' strings.

Similar to ticket about bp-members, last active string.

Suggested changes on attached file.

Attachments (1)

bp-blogs-template.php.patch (3.6 KB) - added by lenasterg 10 years ago.
Patch for /bp-blogs/bp-blogs-template.php

Download all attachments as: .zip

Change History (5)

10 years ago

Patch for /bp-blogs/bp-blogs-template.php

#1 @boonebgorges
10 years ago

  • Keywords needs-unit-tests added
  • Milestone changed from Awaiting Review to 2.0

Thanks for the patch.

#2 @boonebgorges
10 years ago

  • Milestone changed from 2.0 to 2.1

#3 @boonebgorges
10 years ago

In 8407:

Introduce 'active_format' param for bp_get_blog_last_active()

This allows themers to skip the 'active %s' wrapper that BP puts around the
date of last activity for a blog.

See #5392

Props lenasterg

#4 @boonebgorges
10 years ago

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

In 8408:

Introduce 'latest_format' param for bp_get_blog_latest_post()

This param allows themers to omit BP's 'Latest post: %s' wrapper around the
link to the latest post.

Fixes #5392

Props lenasterg

Note: See TracTickets for help on using tickets.