Remove rel_type ref
git-svn-id: http://svn.automattic.com/wordpress/branches/2.2@5314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
15d3bf89ce
commit
9fadff8d4b
|
@ -884,7 +884,7 @@ class WP_Query {
|
|||
$whichcat = " AND category_id IN ({$q['cat']}, ";
|
||||
$whichcat .= get_category_children($q['cat'], '', ', ');
|
||||
$whichcat = substr($whichcat, 0, -2);
|
||||
$whichcat .= ") AND rel_type = 'category'";
|
||||
$whichcat .= ")";
|
||||
$groupby = "{$wpdb->posts}.ID";
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue