Ticket #44662: 44662.patch
File 44662.patch, 1.7 KB (added by , 7 years ago) |
---|
-
src/js/_enqueues/lib/link.js
509 509 var waiting, 510 510 search = inputs.search.val() || ''; 511 511 512 if ( search.length > 2) {512 if ( search.length > parseInt( wpLinkL10n.lengthForSearchInternalLinks, 10 ) ) { 513 513 rivers.recent.hide(); 514 514 rivers.search.show(); 515 515 -
src/wp-includes/script-loader.php
558 558 $scripts->add( 'wplink', "/wp-includes/js/wplink$suffix.js", array( 'jquery', 'wp-a11y' ), false, 1 ); 559 559 did_action( 'init' ) && $scripts->localize( 560 560 'wplink', 'wpLinkL10n', array( 561 'title' => __( 'Insert/edit link' ), 562 'update' => __( 'Update' ), 563 'save' => __( 'Add Link' ), 564 'noTitle' => __( '(no title)' ), 565 'noMatchesFound' => __( 'No results found.' ), 566 'linkSelected' => __( 'Link selected.' ), 567 'linkInserted' => __( 'Link inserted.' ), 561 'title' => __( 'Insert/edit link' ), 562 'update' => __( 'Update' ), 563 'save' => __( 'Add Link' ), 564 'noTitle' => __( '(no title)' ), 565 'noMatchesFound' => __( 'No results found.' ), 566 'linkSelected' => __( 'Link selected.' ), 567 'linkInserted' => __( 'Link inserted.' ), 568 'lengthForSearchInternalLinks' => _x( '2', 'search internal links' ), 568 569 ) 569 570 ); 570 571