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:
parent
795b2211fb
commit
51e2bc173d
@ -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');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user