WordPress.org

Make WordPress Core

Changeset 20098


Ignore:
Timestamp:
03/02/2012 10:32:29 PM (9 years ago)
Author:
nacin
Message:

Use sanitize_key(). sanitize_title_with_dashes() is more than we need. see #19815. see [20096], [20097].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-theme-install-list-table.php

    r20097 r20098  
    6363                switch ( $type ) {
    6464                    case 'tag':
    65                         $args['tag'] = array_map( 'sanitize_title_with_dashes', $search_terms );
     65                        $args['tag'] = array_map( 'sanitize_key', $search_terms );
    6666                        break;
    6767                    case 'term':
Note: See TracChangeset for help on using the changeset viewer.