[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 10:52:17 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        |   Keywords:  needs-patch
--------------------------+-------------------------
 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.

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


More information about the buddypress-trac mailing list