Include subcats in search results. Props Denis-de-Bernardy. fixes #8632

git-svn-id: https://develop.svn.wordpress.org/trunk@11123 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2009-04-29 16:46:45 +00:00
parent 66c017857a
commit 0b9998f037
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ function _cat_rows( $categories, &$count, $parent = 0, $level = 0, $page = 1, $p
$i++;
if ( $category->parent != $parent )
if ( $category->parent != $parent && empty($_GET['s']) )
continue;
// If the page starts in a subtree, print the parents.