[buddypress-trac] [BuddyPress Trac] #6517: bp_create_excerpt returning mall-formed markup - mb_strlen issues?

buddypress-trac noreply at wordpress.org
Tue Jun 23 13:51:35 UTC 2015


#6517: bp_create_excerpt returning mall-formed markup - mb_strlen issues?
------------------------------+---------------------------
 Reporter:  hnla              |       Owner:  boonebgorges
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  2.3.3
Component:  Component - Core  |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:                    |
------------------------------+---------------------------

Comment (by boonebgorges):

 The purpose of the function is to create excerpts. If someone wants to
 create an excerpt of the form `foo <a […]`, there's no reason we
 should prevent it from happening. While it's true that someone could
 simply use `substr()` to create an "exact" excerpt, it may be that they're
 using `bp_create_excerpt()` as part of a larger system, and want to have
 consistent interfaces.

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


More information about the buddypress-trac mailing list