Ticket #4051: bp_shortcode_exerpts_bug.patch
File bp_shortcode_exerpts_bug.patch, 767 bytes (added by , 13 years ago) |
---|
-
bp-activity/bp-activity-filters.php
322 322 323 323 // Run the text through the excerpt function. If it's too short, the original text will be 324 324 // returned. 325 $excerpt = bp_create_excerpt( $text, $excerpt_length, array( 'ending' => __( '…', 'buddypress' ) ) );325 $excerpt = bp_create_excerpt( $text, $excerpt_length, array( 'ending' => __( '…', 'buddypress' ), 'filter_shortcodes' => FALSE ) ); 326 326 327 327 // If the text returned by bp_create_excerpt() is different from the original text (ie it's 328 328 // been truncated), add the "Read More" link.