Make WordPress Core

Ticket #26422: 26422.diff

File 26422.diff, 523 bytes (added by matveb, 11 years ago)
  • wp-admin/js/theme.js

     
    146146                results = this.filter( function( data ) {
    147147                        haystack = _.union( data.get( 'name' ), data.get( 'description' ), data.get( 'author' ), data.get( 'tags' ) );
    148148
    149                         if ( match.test( data.get( 'author' ) ) ) {
     149                        if ( match.test( data.get( 'author' ) ) && term.length > 2 ) {
    150150                                data.set( 'displayAuthor', true );
    151151                        }
    152152