Opened 8 years ago
Closed 8 years ago
#1953 closed defect (bug) (fixed)
Profiles: Cyrillic entries from local support forums are limited to just a few words
Reported by: | SergeyBiryukov | Owned by: | coffee2code |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Profiles | Keywords: | |
Cc: |
Description
Since #129, profiles include activity from local forums as well.
We've found two issues with the implementation, see an example on https://profiles.wordpress.org/sevlad:
- Cyrillic entries are cut off to just a few words instead of a meaningful sentence.
- If the reply starts with someone else's quote, the activity entry displays that quote instead of the actual reply. If the quote is short enough, it's a mix of both, but without any markup to separate them.
For a language where most words are longer than in English, this doesn't make much sense:
Дайте наводку… Выкинуть все… Не все же на сайте для посетит… Обьем рубрики должен выйти на…
To get a feeling of what it looks like to a Russian user, here's a translation :)
Give me a hint… Throw away… Not everything on the site is for visit… Category size should be…
English entries, on the other hand, are noticeably longer, see the screenshot.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Looking at [3920], reply excerpt should have 55 characters per
bbp_get_reply_excerpt( $reply_id, 55 )
, but it only has ~27 or so.mbstring
is not enabled?wp_trim_words()
to cut by words instead of characters?