From add46de1831abe62c319028365c3c1d531fba69e Mon Sep 17 00:00:00 2001 From: Ella Iseulde Van Dorpe <*@iseulde.com> Date: Thu, 16 Jul 2015 12:41:25 +0000 Subject: [PATCH] Editor: word count: remove redundant script enqueuing It is now a dependency of `post`. Part props johnjamesjacoby. Fixes #31766. See #30966. Built from https://develop.svn.wordpress.org/trunk@33295 git-svn-id: http://core.svn.wordpress.org/trunk@33267 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-editor.php | 2 -- wp-includes/version.php | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/wp-includes/class-wp-editor.php b/wp-includes/class-wp-editor.php index fd2f007686..ef9e8576e7 100644 --- a/wp-includes/class-wp-editor.php +++ b/wp-includes/class-wp-editor.php @@ -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'); diff --git a/wp-includes/version.php b/wp-includes/version.php index 157257dadc..c3e139425a 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.3-beta3-33294'; +$wp_version = '4.3-beta3-33295'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.