[buddypress-trac] [BuddyPress] #3505: Audit usage of bp_create_excerpt()

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Mon Aug 22 17:53:15 UTC 2011

#3505: Audit usage of bp_create_excerpt()
 Reporter:  r-a-y   |      Owner:
     Type:  defect  |     Status:  new
 Priority:  normal  |  Milestone:  Awaiting Review
Component:  Groups  |    Version:  1.5
 Severity:  minor   |   Keywords:  has-patch
 There are a couple of instances where the updated version of
 bp_create_excerpt() hasn't been updated in other parts of BP.

 The attached patch alters:

 * bp_get_group_description_excerpt() - Removed $length argument so it uses
 the default one in bp_create_excerpt()

 * bp_get_member_latest_update() - Removed $length argument so it uses the
 default one in bp_create_excerpt(); made some changes to how the "View"
 link is rendered (similar to how bp_activity_truncate_entry() does it)

 * bp_get_the_topic_latest_post_excerpt() - Removed arguments altogether.
 I don't believe this function is even being used at the moment so this
 should be relatively safe.


 There are some other instances, but those are the main offenders.

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3505>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list