Fix tag search. Props jhodgdon. see #5684

git-svn-id: https://develop.svn.wordpress.org/trunk@6677 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-01-28 23:25:46 +00:00
parent 520265c87d
commit a659b0badb
1 changed files with 1 additions and 1 deletions

View File

@ -269,7 +269,7 @@ function tag_rows( $page = 0, $pagesize = 20, $searchterms = '' ) {
$args = array('offset' => $start, 'number' => $pagesize, 'hide_empty' => 0);
if ( !empty( $searchterms ) )
$args['name__like'] = $searchterms;
$args['name__like'] = '%' . $searchterms;
$tags = get_terms( 'post_tag', $args );