From 9a350f7f365f784f08b9970f034b7aa9d74c4300 Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Wed, 11 Mar 2015 17:39:48 +0000 Subject: [PATCH] JSHint: Remove an unused variable. see #28206. git-svn-id: https://develop.svn.wordpress.org/trunk@31724 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/js/wplink.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/wp-includes/js/wplink.js b/src/wp-includes/js/wplink.js index 4a39b76285..7aa0f70ccc 100644 --- a/src/wp-includes/js/wplink.js +++ b/src/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();