[wp-trac] [WordPress Trac] #30966: Let's make word count better (master ticket)

WordPress Trac noreply at wordpress.org
Fri Jun 19 11:01:42 UTC 2015


#30966: Let's make word count better (master ticket)
--------------------------+-------------------------
 Reporter:  iseulde       |       Owner:  iseulde
     Type:  defect (bug)  |      Status:  accepted
 Priority:  normal        |   Milestone:  4.3
Component:  Editor        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  javascript
--------------------------+-------------------------

Comment (by iseulde):

 We should try to exclude everything that is not a letter. Right now this
 is done for some characters by removing them from the string. Ideally we
 should look at which ranges and blocks can be excluded. However, some
 characters can connect words, such as `/`, `--` and `—`. These should
 replaced with spaces. And then `-` will usually connect two part of a
 word, so it should be removed.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30966#comment:30>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list