Skip to:
Content

BuddyPress.org

Opened 12 years ago

Closed 10 years ago

#4700 closed defect (bug) (wontfix)

bp_get_group_description_excerpt should use the filtered group description

Reported by: magnus78's profile magnus78 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Groups Keywords: close
Cc:

Description

bp_get_group_description_excerpt() doesn't use the filtered group description. This is a problem e.g. for multilingual group descriptions, that needs to pass through a filter first.

Attachments (1)

trac4700_bp_groups_desc_excerpt.patch (671 bytes) - added by magnus78 12 years ago.
proposed fix

Download all attachments as: .zip

Change History (5)

#1 @DJPaul
12 years ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 1.7

#2 @DJPaul
12 years ago

  • Keywords needs-refresh needs-patch added; has-patch commit removed
  • Milestone changed from 1.7 to Future Release

magnus78, thanks for the patch. I've reviewed it, and it doesn't account for the $group parameter which can be set. This may have been why this function was built like this. Can you take a look, and see if there's a solution? We may just need to run the group description filter in this function.

I've moved this out of 1.7, but if we get a good patch, it can go back.

#3 @Mamaduka
10 years ago

  • Keywords close added; needs-refresh needs-patch removed

I think this is 'wontfix'.

Plugin should hook into bp_get_group_description_excerpt to provide translated version of excerpt.

$group object is passed as second argument since r7865.

#4 @boonebgorges
10 years ago

  • Milestone Future Release deleted
  • Resolution set to wontfix
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.