Changeset 46988
- Timestamp:
- 12/18/2019 01:13:14 AM (5 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/js/_enqueues/lib/link.js
r44699 r46988 508 508 searchInternalLinks: function() { 509 509 var waiting, 510 search = inputs.search.val() || ''; 511 512 if ( search.length > 2 ) { 510 search = inputs.search.val() || '', 511 minInputLength = parseInt( wpLinkL10n.minInputLength, 10 ) || 3; 512 513 if ( search.length >= minInputLength ) { 513 514 rivers.recent.hide(); 514 515 rivers.search.show(); -
trunk/src/wp-includes/script-loader.php
r46874 r46988 1505 1505 'linkSelected' => __( 'Link selected.' ), 1506 1506 'linkInserted' => __( 'Link inserted.' ), 1507 /* translators: Minimum input length in characters to start searching posts in the "Insert/edit link" modal. */ 1508 'minInputLength' => (int) _x( '3', 'minimum input length for searching post links' ), 1507 1509 ) 1508 1510 );
Note: See TracChangeset
for help on using the changeset viewer.