[buddypress-trac] [BuddyPress] #1410: Groups - excerpt makes invalid links - has-patch

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Mon Nov 30 13:21:05 UTC 2009

#1410: Groups - excerpt makes invalid links - has-patch
Reporter:  petronic  |       Owner:     
    Type:  defect    |      Status:  new
Priority:  major     |   Milestone:     
Keywords:            |  
 When you add URL in group description, then excerpt in groups directory
 listing and in random group makes invalid links.

 For example, I added this text as group description:

 Test link

 From that, excerpt makes:

 Test link
 <a href="\"http://pcgames.de\"">http://pcgames.de</a>

 You can see example here:

 Problem is in doing double "wp_filter_kses" since
 bp_the_site_group_description_excerpt() calls

 and on both "wp_filter_kses" filter is applied:

 add_filter( 'bp_get_group_description', 'wp_filter_kses', 1 );
 add_filter( 'bp_get_the_site_group_description_excerpt', 'wp_filter_kses',
 1 );

Ticket URL: <http://trac.buddypress.org/ticket/1410>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list