diff --git a/includes/api/api-helpers.php b/includes/api/api-helpers.php index 8578f9bc..813d83b3 100644 --- a/includes/api/api-helpers.php +++ b/includes/api/api-helpers.php @@ -3092,7 +3092,7 @@ function acf_get_truncated( $text, $length = 64 ) { $the_length = strlen( $text ); // cut - $return = substr( $text, 0, ( $length - 3 ) ); + $return = mb_substr( $text, 0, ( $length - 3 ) ); // ... if ( $the_length > ( $length - 3 ) ) {