Ticket #33293: 33293.patch
File 33293.patch, 483 bytes (added by , 9 years ago) |
---|
-
src/wp-includes/js/wplink.js
365 365 } 366 366 367 367 link = getLink(); 368 text = inputs.text.val() || attrs.href;369 368 369 if ( inputs.wrap.hasClass( 'has-text-field' ) ) { 370 text = inputs.text.val() || attrs.href; 371 } 372 370 373 if ( link ) { 371 374 if ( text ) { 372 375 if ( 'innerText' in link ) {