Changeset 6680 for trunk/wp-admin/includes/template.php
- Timestamp:
- 01/29/2008 05:20:27 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/template.php
r6677 r6680 269 269 $args = array('offset' => $start, 'number' => $pagesize, 'hide_empty' => 0); 270 270 271 if ( !empty( $searchterms ) ) 272 $args['name__like'] = '%' . $searchterms; 271 if ( !empty( $searchterms ) ) { 272 $args['name__like'] = '%' . like_escape( $searchterms ); 273 } 273 274 274 275 $tags = get_terms( 'post_tag', $args );
Note: See TracChangeset
for help on using the changeset viewer.