You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Excerpt Count Skips "Continue Reading" Link with Numerals
Issue: The siteorigin_corp_excerpt function doesn't add the "Continue reading" link when numerals (e.g., "30") are in the excerpt, despite exceeding the 55-word limit. Using words (e.g., "thirty") works fine.
Fails: She traveled for 30 days, visited 200 cities, dined with 8 friends. (~60 words)
Works: She traveled for thirty days, visited two hundred cities, dined with eight friends.
Cause: Likely str_word_count or wp_trim_words miscounts numerals, affecting $excerpt_add_read_more.
Environment:
Theme: SiteOrigin Corp
Feature: Excerpt Count
Setting: blog_excerpt_length = 55
Fix: Ensure consistent word counting for numerals and words.