[buddypress-trac] [BuddyPress Trac] #9026: Members loop: the link to view a member's latest activity is always output even if it hasn't been truncated

buddypress-trac noreply at wordpress.org
Sun Nov 19 11:06:22 UTC 2023


#9026: Members loop: the link to view a member's latest activity is always output
even if it hasn't been truncated
--------------------------+---------------------
 Reporter:  imath         |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  12.0.0
Component:  Members       |     Version:  1.2
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+---------------------
Changes (by prbot):

 * keywords:  needs-patch => has-patch


Comment:

 ''This ticket was mentioned in
 [https://github.com/buddypress/buddypress/pull/193 PR #193] on
 [https://github.com/buddypress/buddypress/ buddypress/buddypress] by
 [https://profiles.wordpress.org/imath/ @imath].''
 Improve `bp_get_member_latest_update()`:
 - removing `extract()` usage.
 - making sure to only display a button to view the full activity if it has
 been truncated
 - adding a new parameter to the `'bp_get_member_latest_update'` filter.
 This parameter contains all needed data to reset the excerpt.

 Trac ticket: https://buddypress.trac.wordpress.org/ticket/9026

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9026#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list