WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #27386, comment 3


Ignore:
Timestamp:
03/25/2014 04:34:56 PM (7 years ago)
Author:
adamsilverstein
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27386, comment 3

    initial v1  
    1 [attachment:27386.2.patch] adds a (QUnit) unit test to verify that the word count feature correctly skips shortcodes when counting words. The test fails without the patch in /wp-admin/js/word-count.js and passes once the file is patched.
     1[attachment:27386.2.patch] adds a (QUnit) unit test to verify that the word count feature correctly skips shortcodes when counting words. The test fails without the patch in /wp-admin/js/word-count.js and passes once the file is patched. Note: the test needs to be asynchronous because the word count function includes a brief delay and would otherwise complete after the assertion ran.