[wp-trac] [WordPress Trac] #31766: 'word-count' always enqueued, even when not needed

WordPress Trac noreply at wordpress.org
Wed Mar 25 19:55:23 UTC 2015

#31766: 'word-count' always enqueued, even when not needed
 Reporter:  johnjamesjacoby        |       Owner:
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  Awaiting Review
Component:  TinyMCE                |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |     Focuses:  performance

Comment (by DrewAPicture):

 First of all, seems like a valid expectation that we wouldn't want to
 enqueue 'word-count' if there's no editor. So with that in mind, what
 about using dependencies to load it instead of individually enqueuing

Ticket URL: <https://core.trac.wordpress.org/ticket/31766#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list