[wp-cvs] wordpress wp-blog-header.php,1.80,1.81

Ryan Boren rboren at users.sourceforge.net
Mon Aug 16 22:50:19 UTC 2004


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

Modified Files:
	wp-blog-header.php 
Log Message:
Paging cleanup.

Index: wp-blog-header.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-blog-header.php,v
retrieving revision 1.80
retrieving revision 1.81
diff -C2 -d -r1.80 -r1.81
*** wp-blog-header.php	11 Aug 2004 01:55:34 -0000	1.80
--- wp-blog-header.php	16 Aug 2004 22:50:06 -0000	1.81
***************
*** 125,133 ****
      $posts_per_page = $showposts;
  }
  
  $archive_mode = get_settings('archive_mode');
  $use_gzipcompression = get_settings('gzipcompression');
  
! $more_wpvars = array('posts_per_page', 'what_to_show', 'showposts');
  
  // Construct the query string.
--- 125,136 ----
      $posts_per_page = $showposts;
  }
+ if ( !isset($nopaging) ) {
+   $nopaging = '';
+ }
  
  $archive_mode = get_settings('archive_mode');
  $use_gzipcompression = get_settings('gzipcompression');
  
! $more_wpvars = array('posts_per_page', 'what_to_show', 'showposts', 'nopaging');
  
  // Construct the query string.




More information about the cvs mailing list