From 8ff664171d5611ad76fb342aec9053dd387bb8bd Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Mon, 30 Mar 2015 02:50:27 +0000 Subject: [PATCH] Remove unused vars. See #31627. Built from https://develop.svn.wordpress.org/trunk@31923 git-svn-id: http://core.svn.wordpress.org/trunk@31902 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/js/tinymce/plugins/wpemoji/plugin.js | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/js/tinymce/plugins/wpemoji/plugin.js b/wp-includes/js/tinymce/plugins/wpemoji/plugin.js index d3784ddf89..d4ae77b007 100644 --- a/wp-includes/js/tinymce/plugins/wpemoji/plugin.js +++ b/wp-includes/js/tinymce/plugins/wpemoji/plugin.js @@ -1,6 +1,6 @@ ( function( tinymce, wp, twemoji ) { tinymce.PluginManager.add( 'wpemoji', function( editor ) { - var typing, match, + var typing, env = tinymce.Env, ua = window.navigator.userAgent, isWin = ua.indexOf( 'Windows' ) > -1, @@ -53,7 +53,7 @@ typing = ( event.type === 'keydown' ); } ); - editor.on( 'input', function( event ) { + editor.on( 'input', function() { if ( typing ) { return; } diff --git a/wp-includes/version.php b/wp-includes/version.php index f072f63e6b..94a75a5fa6 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.2-beta3-31922'; +$wp_version = '4.2-beta3-31923'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.