Make WordPress Core

Changeset 26921


Ignore:
Timestamp:
01/08/2014 09:28:15 PM (11 years ago)
Author:
nacin
Message:

Themes: Search the theme's slug too.

props matveb.
see #26730 for trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/js/theme.js

    r26885 r26921  
    147147        // _.filter and .test
    148148        results = this.filter( function( data ) {
    149             haystack = _.union( data.get( 'name' ), data.get( 'description' ), data.get( 'author' ), data.get( 'tags' ) );
     149            haystack = _.union( data.get( 'name' ), data.get( 'id' ), data.get( 'description' ), data.get( 'author' ), data.get( 'tags' ) );
    150150
    151151            if ( match.test( data.get( 'author' ) ) && term.length > 2 ) {
Note: See TracChangeset for help on using the changeset viewer.