Changeset 6095
- Timestamp:
- 06/14/2012 06:06:46 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-filters.php
r5929 r6095 327 327 328 328 // If the text returned by bp_create_excerpt() is different from the original text (ie it's 329 // been truncated), add the "Read More" link. 330 if ( $excerpt != $text ) { 329 // been truncated), add the "Read More" link. Note that bp_create_excerpt() is stripping 330 // shortcodes, so we have strip them from the $text before the comparison 331 if ( $excerpt != strip_shortcodes( $text ) ) { 331 332 $id = !empty( $activities_template->activity->current_comment->id ) ? 'acomment-read-more-' . $activities_template->activity->current_comment->id : 'activity-read-more-' . bp_get_activity_id(); 332 333
Note: See TracChangeset
for help on using the changeset viewer.