[buddypress-trac] [BuddyPress] #3452: Long Inserted Image in Post doesn't Render in Activity Stream
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Tue Aug 16 11:33:10 UTC 2011
#3452: Long Inserted Image in Post doesn't Render in Activity Stream
-------------------------+---------------------
Reporter: nahummadrid | Owner:
Type: defect | Status: closed
Priority: normal | Milestone: 1.5
Component: Activity | Version: 1.5
Severity: normal | Resolution: fixed
Keywords: has-patch |
-------------------------+---------------------
Changes (by boonebgorges):
* status: new => closed
* resolution: => fixed
Comment:
(In [4989]) Modifies bp_create_excerpt() to take account of HTML tag
length when truncating long texts. Thanks to CakePHP for the function.
Refactors BP use of bp_create_excerpt(), where necessary, to account for
new function argument structure. Reworks bp_activity_truncate_entry() so
that already-truncated activity items (like blog posts) do not get a Read
More link when they contain HTML. Introduces fallback functions for some
multibyte string functions, to make bp_create_excerpt() work properly.
Thanks to MediaWiki for these fallbacks. Fixes #3452. Props DJPaul for all
the help with this patch.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3452#comment:17>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list