Editor: word count: remove redundant script enqueuing

It is now a dependency of `post`.

Part props johnjamesjacoby.
Fixes #31766. See #30966.



git-svn-id: https://develop.svn.wordpress.org/trunk@33295 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ella Iseulde Van Dorpe 2015-07-16 12:40:51 +00:00
parent 795b2211fb
commit 51e2bc173d

View File

@ -761,8 +761,6 @@ final class _WP_Editors {
* @static
*/
public static function enqueue_scripts() {
wp_enqueue_script('word-count');
if ( self::$has_tinymce )
wp_enqueue_script('editor');