Opened 2 years ago
Closed 2 years ago
#9026 closed defect (bug) (fixed)
Members loop: the link to view a member's latest activity is always output even if it hasn't been truncated
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 12.0.0 | Priority: | normal |
| Severity: | normal | Version: | 1.2 |
| Component: | Members | Keywords: | has-patch |
| Cc: |
Description
Working on optimizing BuddyPress for the Twenty Twenty-Four theme, I noticed unlike what this comment was saying:
/* * If `$view_link` is true and the text returned by `bp_create_excerpt()` is different * from the original text (ie it's been truncated), add the "View" link. */
The link to view the single activity is always shown, no matter the activity was truncated or not.
Change History (2)
Note: See
TracTickets for help on using
tickets.
Improve
bp_get_member_latest_update():extract()usage.'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