WordPress.org

Make WordPress Core

Changeset 33295


Ignore:
Timestamp:
07/16/2015 12:40:51 PM (6 years ago)
Author:
iseulde
Message:

Editor: word count: remove redundant script enqueuing

It is now a dependency of post.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-editor.php

    r33187 r33295  
    762762     */
    763763    public static function enqueue_scripts() {
    764         wp_enqueue_script('word-count');
    765 
    766764        if ( self::$has_tinymce )
    767765            wp_enqueue_script('editor');
Note: See TracChangeset for help on using the changeset viewer.