Make WordPress Core

Changeset 31724


Ignore:
Timestamp:
03/11/2015 05:39:48 PM (10 years ago)
Author:
ocean90
Message:

JSHint: Remove an unused variable.

see #28206.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/js/wplink.js

    r31714 r31724  
    368368            var selection,
    369369                emailRegexp = /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i,
    370                 urlRegexp = /^(https?|ftp):\/\/[A-Z0-9.-]+\.[A-Z]{2,4}[^ "]*$/i,
    371                 text;
     370                urlRegexp = /^(https?|ftp):\/\/[A-Z0-9.-]+\.[A-Z]{2,4}[^ "]*$/i;
    372371
    373372            if ( this.isMCE() ) {
Note: See TracChangeset for help on using the changeset viewer.