Skip to:

Opened 15 years ago

Closed 14 years ago

#1410 closed defect (bug) (fixed)

Groups - excerpt makes invalid links - has-patch

Reported by: petronic's profile petronic Owned by:
Milestone: 1.2.4 Priority: major
Severity: Version:
Component: Core Keywords:
Cc: petronic


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="\"\""></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 );

Attachments (1)

patch.diff (724 bytes) - added by petronic 15 years ago.

Download all attachments as: .zip

Change History (3)

15 years ago

#1 @johnjamesjacoby
14 years ago

  • Component set to Core
  • Milestone set to 1.2.4

#2 @johnjamesjacoby
14 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in 1.2.

Note: See TracTickets for help on using tickets.