mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
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
This commit is contained in:
parent
24594de8d4
commit
add46de183
@ -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');
|
||||
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user