Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

read more not show when using Japanese #251

Closed
mplusb opened this issue Apr 21, 2021 · 2 comments
Closed

read more not show when using Japanese #251

mplusb opened this issue Apr 21, 2021 · 2 comments
Assignees
Milestone

Comments

@mplusb
Copy link

mplusb commented Apr 21, 2021

Describe the bug
https://wordpress.org/support/topic/read-more-not-show-and-500-error/

To Reproduce
Steps to reproduce the behavior:

  1. add a testimonial in Japanese
  2. go to Views > automatic excerpt > enter a number > see the error on the page.
  3. it will show the whole testimonial

Used versions

  • WordPress version: 5.7.1
  • Strong Testimonials version: 2.51.4
@mplusb mplusb added the bug label Apr 21, 2021
@cristinnaiulia
Copy link
Contributor

The text is being split by number of words using spaces as delimiter. Since the Japanese language doesn't use spaces, the text is seen as a single word and cannot be split.

Screenshot_1

@TeoAlex TeoAlex added this to the 3.0.0 milestone Jul 7, 2022
@giucu91 giucu91 removed this from the 3.0.0 milestone Jul 11, 2022
@razvanaldea89 razvanaldea89 added this to the 3.1.9 milestone Aug 11, 2023
@TeoAlex
Copy link
Contributor

TeoAlex commented Sep 7, 2023

add_filter( 'wpmtst_excerpt_by_characters_count', '__return_true' );

@TeoAlex TeoAlex self-assigned this Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants