- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.1/wp-includes/taxonomy.php
r18021 r17527 1256 1256 } 1257 1257 1258 if ( !empty($name__like) ) { 1259 $name__like = like_escape( $name__like ); 1260 $where .= $wpdb->prepare( " AND t.name LIKE %s", $name__like . '%' ); 1261 } 1258 if ( !empty($name__like) ) 1259 $where .= " AND t.name LIKE '" . like_escape( $name__like ) . "%'"; 1262 1260 1263 1261 if ( '' !== $parent ) { … … 1281 1279 if ( !empty($search) ) { 1282 1280 $search = like_escape($search); 1283 $where .= $wpdb->prepare( " AND (t.name LIKE %s)", '%' . $search . '%');1281 $where .= " AND (t.name LIKE '%$search%')"; 1284 1282 } 1285 1283
Note: See TracChangeset
for help on using the changeset viewer.