Make WordPress Core

Ticket #24067: 24067-selection-var.patch

File 24067-selection-var.patch, 397 bytes (added by TobiasBg, 11 years ago)

Re-add selection variable.

  • src/wp-includes/js/wplink.js

    diff --git src/wp-includes/js/wplink.js src/wp-includes/js/wplink.js
    index c798547..8472068 100644
    var wpLink; 
    165165                },
    166166
    167167                htmlUpdate: function() {
    168                         var attrs, html, begin, end, cursor, title,
     168                        var attrs, html, begin, end, cursor, selection, title,
    169169                                textarea = wpLink.textarea;
    170170
    171171                        if ( ! textarea )