Fix search for custom taxonomies. Props gortsleigh. fixes #9971
git-svn-id: https://develop.svn.wordpress.org/trunk@11481 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
6ae5d00203
commit
793db461d5
|
@ -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