Changeset 571 for trunk/blog.header.php
- Timestamp:
- 12/05/2003 01:44:42 AM (23 years ago)
- File:
-
- 1 edited
-
trunk/blog.header.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/blog.header.php
r569 r571 14 14 require_once ($curpath.$b2inc.'/xmlrpcs.inc'); 15 15 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'); 17 17 18 18 for ($i=0; $i<count($b2varstoreset); $i += 1) { … … 290 290 // Get private posts 291 291 if (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')"; 293 293 else 294 294 $where .= ')'; … … 308 308 // echo $request; 309 309 $posts = $wpdb->get_results($request); 310 310 311 if (1 == count($posts)) { 311 312 if ($p || $name) {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)