mirror of
git://develop.git.wordpress.org/
synced 2025-01-19 13:47:02 +01:00
Category fix from TheJason.
git-svn-id: https://develop.svn.wordpress.org/trunk@746 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
d234d8b4c5
commit
6a977ac358
@ -158,7 +158,7 @@ if ((empty($cat)) || ($cat == 'all') || ($cat == '0')) {
|
||||
$cat_array = explode(' ',$cat);
|
||||
$whichcat .= ' AND (category_id '.$eq.' '.intval($cat_array[0]);
|
||||
for ($i = 1; $i < (count($cat_array)); $i = $i + 1) {
|
||||
$whichcat .= ' '.$andor.' post_category '.$eq.' '.intval($cat_array[$i]);
|
||||
$whichcat .= ' '.$andor.' category_id '.$eq.' '.intval($cat_array[$i]);
|
||||
}
|
||||
$whichcat .= ')';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user