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

buddypress-trac noreply at wordpress.org
Mon Nov 17 21:28:12 UTC 2014


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

 * keywords:  2nd-opinion reporter-feedback => 2nd-opinion


Comment:

 Replying to [comment:3 DJPaul]:
 > Are you saying there's a bug where, after WP truncates a Post, we take
 that truncated text and then add that into the Activity stream, instead of
 taking the original post content, and running our own truncation methods
 on it?

 No not a bug, but as we take the post content after WP has run it's
 filters we then don't run our function fully, iirc we should in theory be
 rendering a link rather than WP's [...] the first post attempts to
 describe our function actions, it just felt odd that if I adjusted the
 excerpt length via BP filter then the already truncated WP content was
 returned from BP create excerpt and had a read more link appended - this
 is not a good description and I'm not being very clear :) something isn't
 logically quite correct but it's not necessarily a bug. As this isn't
 something any one else has raised apart from that one forum post it should
 be set to close, unless I can really sit down and examine in detail.

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


More information about the buddypress-trac mailing list