[buddypress-trac] [BuddyPress Trac] #9024: BP Nouveau: improve the template tag used to create a group's description excerpt inside loops

buddypress-trac noreply at wordpress.org
Fri Nov 17 06:43:04 UTC 2023


#9024: BP Nouveau: improve the template tag used to create a group's description
excerpt inside loops
--------------------------+--------------------
 Reporter:  imath         |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  12.0.0
Component:  Templates     |    Version:  3.0.0
 Severity:  normal        |   Keywords:
--------------------------+--------------------
 More than an improvement, It's actually a fix, the
 `bp_nouveau_get_group_description_excerpt()` is sending a `Null` value to
 the `$length` parameter of the `bp_create_excerpt()` function which ends
 up removing the last 11 characters of the group's description, no matter
 the initial length of the group description. If this description is less
 than 11 characters long, we get this kind of excerpt `[...]` and very long
 descriptions are not really shortened.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9024>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list