Make WordPress Core

Changeset 571 for trunk/blog.header.php


Ignore:
Timestamp:
12/05/2003 01:44:42 AM (23 years ago)
Author:
saxmatt
Message:

Alpha 2 multiple category support.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/blog.header.php

    r569 r571  
    1414require_once ($curpath.$b2inc.'/xmlrpcs.inc');
    1515
    16 $b2varstoreset = array('m','p','posts','w','c', 'cat','withcomments','s','search','exact', 'sentence','poststart','postend','preview','debug', 'calendar','page','paged','more','tb', 'pb','author','order','orderby', 'year', 'monthnum', 'day', 'name');
     16$b2varstoreset = array('m','p','posts','w','c', 'cat','withcomments','s','search','exact', 'sentence','poststart','postend','preview','debug', 'calendar','page','paged','more','tb', 'pb','author','order','orderby', 'year', 'monthnum', 'day', 'name', 'category_nicename');
    1717
    1818        for ($i=0; $i<count($b2varstoreset); $i += 1) {
     
    290290// Get private posts
    291291if (isset($user_ID) && ('' != intval($user_ID)))
    292     $where .= " OR  post_author = $user_ID AND post_status != 'draft')";
     292    $where .= " OR post_author = $user_ID AND post_status != 'draft')";
    293293else
    294294    $where .= ')';
     
    308308// echo $request;
    309309$posts = $wpdb->get_results($request);
     310
    310311if (1 == count($posts)) {
    311312        if ($p || $name) {
Note: See TracChangeset for help on using the changeset viewer.