Changeset 2392
- Timestamp:
- 01/21/2010 12:24:21 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-templatetags.php
r2383 r2392 761 761 762 762 $content = explode( '<span', $content ); 763 $title = trim( strip_tags( html_entity_decode( $content[0]) ) );763 $title = trim( strip_tags( html_entity_decode( utf8_encode( $content[0] ) ) ) ); 764 764 765 765 if ( ':' == substr( $title, -1 ) ) … … 803 803 $content = $activities_template->activity->action . $activities_template->activity->content; 804 804 805 return apply_filters( 'bp_get_activity_feed_item_description', html_entity_decode( str_replace( '%s', '', $content ), ENT_COMPAT, 'UTF-8') );805 return apply_filters( 'bp_get_activity_feed_item_description', html_entity_decode( utf8_encode( str_replace( '%s', '', $content ) ) ) ); 806 806 } 807 807
Note: See TracChangeset
for help on using the changeset viewer.