Make WordPress Core

Changeset 828


Ignore:
Timestamp:
02/03/2004 05:23:06 PM (20 years ago)
Author:
emc3
Message:

More category filtering for specific posts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-blog-header.php

    r827 r828  
    146146}
    147147
    148 //                                                       Bypass cat checks if fetching specific posts
    149 if ((empty($cat)) || ($cat == 'all') || ($cat == '0') || (intval($year) || intval($p))) {
     148if ((empty($cat)) || ($cat == 'all') || ($cat == '0') ||
     149    // Bypass cat checks if fetching specific posts
     150    (
     151        intval($year) || intval($monthnum) || intval($day) || intval($w) ||
     152        intval($p) || !empty($name) || !empty($s)
     153    )
     154        ) {
    150155    $whichcat='';
    151156} else {
Note: See TracChangeset for help on using the changeset viewer.