Make WordPress Core

Changeset 6677


Ignore:
Timestamp:
01/28/2008 11:25:46 PM (17 years ago)
Author:
ryan
Message:

Fix tag search. Props jhodgdon. see #5684

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r6670 r6677  
    270270 
    271271    if ( !empty( $searchterms ) )
    272         $args['name__like'] = $searchterms;
     272        $args['name__like'] = '%' . $searchterms;
    273273
    274274    $tags = get_terms( 'post_tag', $args );
Note: See TracChangeset for help on using the changeset viewer.