Fix tag search. Props jhodgdon. see #5684

git-svn-id: http://svn.automattic.com/wordpress/trunk@6677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-01-28 23:25:46 +00:00
parent 9d46888a48
commit b26cf6d97d
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); $args = array('offset' => $start, 'number' => $pagesize, 'hide_empty' => 0);
if ( !empty( $searchterms ) ) if ( !empty( $searchterms ) )
$args['name__like'] = $searchterms; $args['name__like'] = '%' . $searchterms;
$tags = get_terms( 'post_tag', $args ); $tags = get_terms( 'post_tag', $args );