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:
parent
6ca5401e04
commit
26a7d0ef4f
|
@ -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(); ?>" />
|
||||
|
|
Loading…
Reference in New Issue