WordPress.org

Make WordPress Core

Changeset 26957


Ignore:
Timestamp:
01/15/2014 08:28:54 AM (6 years ago)
Author:
nacin
Message:

Themes: Search the theme's slug too.

Merges [26921] to the 3.8 branch.

props matveb.
see #26730.

Location:
branches/3.8
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3.8

  • branches/3.8/src/wp-admin/js/theme.js

    r26956 r26957  
    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.