Make WordPress Core

Ticket #32323: 32323.diff

File 32323.diff, 406 bytes (added by bcole808, 10 years ago)
  • src/wp-includes/js/wplink.js

     
    356356                        link = getLink();
    357357                        text = inputs.text.val();
    358358
     359                        if ( '' === text ) {
     360                                text = attrs.href;
     361                        }
     362
    359363                        if ( link ) {
    360364                                if ( text ) {
    361365                                        if ( 'innerText' in link ) {