Fix search for custom taxonomies. Props gortsleigh. fixes #9971

git-svn-id: http://svn.automattic.com/wordpress/trunk@11481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-05-29 02:54:44 +00:00
parent 6ca5401e04
commit 26a7d0ef4f

View File

@ -157,6 +157,7 @@ if ( isset($_GET['s']) && $_GET['s'] )
endif; ?>
<form class="search-form" action="" method="get">
<input type="hidden" name="taxonomy" value="<?php echo esc_attr($taxonomy); ?>" />
<p class="search-box">
<label class="screen-reader-text" for="tag-search-input"><?php _e( 'Search Tags' ); ?>:</label>
<input type="text" id="tag-search-input" name="s" value="<?php _admin_search_query(); ?>" />