Make WordPress Core

Changeset 36751


Ignore:
Timestamp:
02/28/2016 02:18:22 AM (9 years ago)
Author:
johnbillion
Message:

Editor: Remove an unused JavaScript variable so the JS lint tests pass.

See #33301

File:
1 edited

Legend:

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

    r36747 r36751  
    462462
    463463        getUrlFromSelection: function( selection ) {
    464             var url,
    465                 emailRegexp = /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i,
     464            var emailRegexp = /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i,
    466465                urlRegexp = /^(https?|ftp):\/\/[A-Z0-9.-]+\.[A-Z]{2,4}[^ "]*$/i;
    467466
Note: See TracChangeset for help on using the changeset viewer.