[wp-trac] [WordPress Trac] #26620: Word Count is one number short

WordPress Trac noreply at wordpress.org
Wed Dec 18 05:16:14 UTC 2013


#26620: Word Count is one number short
--------------------------+------------------
 Reporter:  jorbin        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.9
Component:  Editor        |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------

Comment (by nacin):

 Two possible alternative fixes that are not editor-dependent:

  * Add a space to the end of `tx` prior to running the count.

  * Use `/\S(\s+|$)/gm` instead (untested).

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26620#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list