Ticket #7590: 7590.patch
File 7590.patch, 626 bytes (added by , 8 years ago) |
---|
-
src/bp-core/bp-core-template.php
1017 1017 $is_word_boundary = ' ' === $truncate[ $pos ]; 1018 1018 if ( ! $is_word_boundary && isset( $truncate_tags[ $pos - 1 ] ) ) { 1019 1019 $preceding_tag = $truncate_tags[ $pos - 1 ]; 1020 if ( ' ' === $truncate[ $preceding_tag['start'] - 1 ] ) {1020 if ( isset( $preceding_tag['start'] ) && ' ' === $truncate[ $preceding_tag['start'] - 1 ] ) { 1021 1021 $is_word_boundary = true; 1022 1022 break; 1023 1023 }