Changeset 6722
- Timestamp:
- 10/10/2017 05:21:08 PM (9 years ago)
- Location:
- trunk/src/includes
- Files:
-
- 4 edited
-
common/formatting.php (modified) (1 diff)
-
replies/template.php (modified) (1 diff)
-
topics/template.php (modified) (1 diff)
-
users/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/common/formatting.php
r6649 r6722 729 729 $reason = (string) $reason; 730 730 731 // Format reason for proper display731 // Bail if reason is empty 732 732 if ( empty( $reason ) ) { 733 733 return $reason; -
trunk/src/includes/replies/template.php
r6719 r6722 596 596 597 597 if ( ! empty( $length ) && ( $excerpt_length > $length ) ) { 598 $excerpt = substr( $excerpt, 0, $length - 1 );598 $excerpt = mb_substr( $excerpt, 0, $length - 1 ); 599 599 $excerpt .= '…'; 600 600 } -
trunk/src/includes/topics/template.php
r6719 r6722 705 705 706 706 if ( ! empty( $length ) && ( $excerpt_length > $length ) ) { 707 $excerpt = substr( $excerpt, 0, $length - 1 );707 $excerpt = mb_substr( $excerpt, 0, $length - 1 ); 708 708 $excerpt .= '…'; 709 709 } -
trunk/src/includes/users/functions.php
r6706 r6722 164 164 function bbp_current_author_ua() { 165 165 $retval = ! empty( $_SERVER['HTTP_USER_AGENT'] ) 166 ? substr( $_SERVER['HTTP_USER_AGENT'], 0, 254 )166 ? mb_substr( $_SERVER['HTTP_USER_AGENT'], 0, 254 ) 167 167 : ''; 168 168
Note: See TracChangeset
for help on using the changeset viewer.