[wp-cvs] wordpress index.php, 1.79, 1.80 wp-blog-header.php, 1.77, 1.78

Ryan Boren rboren at users.sourceforge.net
Sun Aug 8 15:31:52 UTC 2004


Update of /cvsroot/cafelog/wordpress
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2952

Modified Files:
	index.php wp-blog-header.php 
Log Message:
WP Query class.

Index: wp-blog-header.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-blog-header.php,v
retrieving revision 1.77
retrieving revision 1.78
diff -C2 -d -r1.77 -r1.78
*** wp-blog-header.php	28 Jul 2004 02:43:54 -0000	1.77
--- wp-blog-header.php	8 Aug 2004 15:31:49 -0000	1.78
***************
*** 142,147 ****
  $query_string = apply_filters('query_string', $query_string);
  
- $wp_query_state->parse_query($query_string);
- 
  update_category_cache();
  
--- 142,145 ----

Index: index.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/index.php,v
retrieving revision 1.79
retrieving revision 1.80
diff -C2 -d -r1.79 -r1.80
*** index.php	29 Jul 2004 03:34:07 -0000	1.79
--- index.php	8 Aug 2004 15:31:49 -0000	1.80
***************
*** 32,36 ****
  
  <div id="content">
! <?php if ($posts) : foreach ($posts as $post) : start_wp(); ?>
  
  <?php the_date('','<h2>','</h2>'); ?>
--- 32,36 ----
  
  <div id="content">
! <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
  
  <?php the_date('','<h2>','</h2>'); ?>
***************
*** 57,61 ****
  <?php comments_template(); // Get wp-comments.php template ?>
  
! <?php endforeach; else: ?>
  <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
  <?php endif; ?>
--- 57,61 ----
  <?php comments_template(); // Get wp-comments.php template ?>
  
! <?php endwhile; else: ?>
  <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
  <?php endif; ?>




More information about the cvs mailing list