[buddypress-trac] [BuddyPress Trac] #5981: Activity excerpts show read more link only if excerpt length changed

buddypress-trac noreply at wordpress.org
Tue Nov 4 10:35:32 UTC 2014


#5981: Activity excerpts show read more link only if excerpt length changed
--------------------------+------------------------------
 Reporter:  hnla          |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Activity      |     Version:
 Severity:  minor         |  Resolution:
 Keywords:  2nd-opinion   |
--------------------------+------------------------------
Changes (by hnla):

 * cc: hugoashmore@… (added)
 * keywords:   => 2nd-opinion


Comment:

 Updating this as the majority of the initial post is false, based on other
 factors colouring my results.

 I'm leaving open the question though that the original reason for looking
 at this aspect of activity truncation was as a user asked on the forum why
 their posts were appearing without read more links only unlinked [...] BP
 is not at fault it's a filter running on WP posts or the standard wp
 excerpt creation.

 I wonder though as it's clear from dumping out $text in
 bp_activity_truncate_entry()  that we receive post content after WP has
 filtered and truncated whether it might be better to grab the post content
 before in raw state so that BP can run it's function fully rather than
 returning out of bp_create_excerpt with $text unmodified?

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


More information about the buddypress-trac mailing list