From 593e062b2e28dcf668b19d58bfebcc7b2f11eeb1 Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Wed, 11 Mar 2015 17:40:27 +0000 Subject: [PATCH] JSHint: Remove an unused variable. see #28206. Built from https://develop.svn.wordpress.org/trunk@31724 git-svn-id: http://core.svn.wordpress.org/trunk@31705 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/js/wplink.js | 3 +-- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/wp-includes/js/wplink.js b/wp-includes/js/wplink.js index 4a39b76285..7aa0f70ccc 100644 --- a/wp-includes/js/wplink.js +++ b/wp-includes/js/wplink.js @@ -367,8 +367,7 @@ var wpLink; setDefaultValues: function() { var selection, emailRegexp = /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i, - urlRegexp = /^(https?|ftp):\/\/[A-Z0-9.-]+\.[A-Z]{2,4}[^ "]*$/i, - text; + urlRegexp = /^(https?|ftp):\/\/[A-Z0-9.-]+\.[A-Z]{2,4}[^ "]*$/i; if ( this.isMCE() ) { selection = editor.selection.getContent(); diff --git a/wp-includes/version.php b/wp-includes/version.php index f1fffb069d..b346a0df0b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.2-alpha-31723'; +$wp_version = '4.2-alpha-31724'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.