Update bp_group_description_excerpt() to accept a $length param
|Reported by:||hnla||Owned by:||hnla|
In our group loop template we display bp_group_description_excerpt() this function in bp-members-template.php L:1179 accepts one param $group and passes off to the get function which calls bp_create_excerpt($group->description).
bp_create_excerpt() takes a $length value though which we can't take advantage of.
Proposed update will add a $length param to the group descr functions.
I would prefer to change the params to an array to better match other similar functions and prevent the nuisance of passing only one var needing to be the first ordered, but worry that might be a breaking change for existing templates that might be passing params?