More category filtering for specific posts
git-svn-id: https://develop.svn.wordpress.org/trunk@828 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
db0df60fbd
commit
7c84f63300
@ -145,8 +145,13 @@ foreach ($dogs as $catt) {
|
||||
$cache_categories[$catt->cat_ID] = $catt;
|
||||
}
|
||||
|
||||
// Bypass cat checks if fetching specific posts
|
||||
if ((empty($cat)) || ($cat == 'all') || ($cat == '0') || (intval($year) || intval($p))) {
|
||||
if ((empty($cat)) || ($cat == 'all') || ($cat == '0') ||
|
||||
// Bypass cat checks if fetching specific posts
|
||||
(
|
||||
intval($year) || intval($monthnum) || intval($day) || intval($w) ||
|
||||
intval($p) || !empty($name) || !empty($s)
|
||||
)
|
||||
) {
|
||||
$whichcat='';
|
||||
} else {
|
||||
$cat = ''.urldecode($cat).'';
|
||||
|
Loading…
Reference in New Issue
Block a user