WordPress.org

Make WordPress Core

Changes between Version 5 and Version 6 of Ticket #30966, comment 49


Ignore:
Timestamp:
07/21/2015 03:24:52 PM (6 years ago)
Author:
iseulde
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30966, comment 49

    v5 v6  
    33* Exclude astral unicode blocks that contain punctuation and symbols. The most important one is emoji. (word count only)
    44* '''DONE'''. Exclude shortcodes.
    5 * Exclude HTML comments.
     5* '''DONE'''. Exclude HTML comments.
    66* Exclude text inside certain HTML tags like `<pre><code>` (or `<code>` in general?) and maybe `<form>`? `<script>` can also be use by admins and should also be excluded.
    7 * Any HTML entities that should be replaced?
     7* '''DONE'''. Any HTML entities that should be replaced?
    88* '''DONE'''. Make sure astrals are counted as one character. In JavaScript the `length` of an astral character is two.
    99* Figure out how a mix of languages should be counted (but most likely wontfix).