[wp-cvs] wordpress wp-blog-header.php, 1.76, 1.77 wp-trackback.php, 1.14, 1.15

Ryan Boren rboren at users.sourceforge.net
Wed Jul 28 02:43:56 UTC 2004


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

Modified Files:
	wp-blog-header.php wp-trackback.php 
Log Message:
Support timestamp permalinks.  Make wider use of is_single().  Bug 0000194.

Index: wp-blog-header.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-blog-header.php,v
retrieving revision 1.76
retrieving revision 1.77
diff -C2 -d -r1.76 -r1.77
*** wp-blog-header.php	6 Jul 2004 18:20:11 -0000	1.76
--- wp-blog-header.php	28 Jul 2004 02:43:54 -0000	1.77
***************
*** 150,154 ****
  
  if (1 == count($posts)) {
! 	if ($p || $name) {
  		$more = 1;
  		$single = 1;
--- 150,154 ----
  
  if (1 == count($posts)) {
! 	if (is_single()) {
  		$more = 1;
  		$single = 1;

Index: wp-trackback.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-trackback.php,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** wp-trackback.php	31 May 2004 23:35:32 -0000	1.14
--- wp-trackback.php	28 Jul 2004 02:43:54 -0000	1.15
***************
*** 16,20 ****
  }
  
! if ( (($p != '') && ($p != 'all')) || ($name != '') ) {
      $tb_id = $posts[0]->ID;
  }
--- 16,20 ----
  }
  
! if (is_single()) {
      $tb_id = $posts[0]->ID;
  }




More information about the cvs mailing list