Skip to:
Content

BuddyPress.org

Opened 13 years ago

Closed 12 years ago

#5392 closed enhancement (fixed)

Add parameters to bp_blog_last_active() and bp_blog_latest_post().

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

Description

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 https://buddypress.trac.wordpress.org/ticket/5387 about bp-members, last active string.

Suggested changes on attached file.

Attachments (1)

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

Download all attachments as: .zip

Change History (5)

@lenasterg
13 years ago

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

#1 @boonebgorges
13 years ago

  • Keywords needs-unit-tests added
  • Milestone Awaiting Review2.0

Thanks for the patch.

#2 @boonebgorges
12 years ago

  • Milestone 2.02.1

#3 @boonebgorges
12 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
12 years ago

  • Owner set to boonebgorges
  • Resolutionfixed
  • Status newclosed

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.