Word/character count updates in 4.3

Here are several adjustments we did:

  • Instead of updating on enter/return, it will now refresh when you stop typing.
  • For word count, it will exclude a lot more characters that shouldn’t be counted as words.
  • For character count, we no longer exclude any of these characters. This means that numbers and common western punctuation are no longer excluded compared to 4.2. Emoji and other astral characters are now counted as one character instead of two.
  • We added a new type all, in addition to words and characters, that will count characters including spaces. This seemed necessary for Japanese and maybe other languages. Edit: this is now character_including_spaces and character_excluding_spaces.
  • Shortcodes and HTML comments are now excluded.

See ticket #30966 for more information.

Please test the latest beta which includes these changes.

#4-3, #dev-notes, #editor