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.