[wp-cvs] wordpress wp-comments-post.php,1.11.4.1,1.11.4.2

Matthew Mullenweg saxmatt at users.sourceforge.net
Wed Oct 6 16:55:36 UTC 2004


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

Modified Files:
      Tag: WordPress-Ver-1_2-Branch
	wp-comments-post.php 
Log Message:
Using wrong ID for redirect. Hat tip: Donncha.

Index: wp-comments-post.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-comments-post.php,v
retrieving revision 1.11.4.1
retrieving revision 1.11.4.2
diff -C2 -d -r1.11.4.1 -r1.11.4.2
*** wp-comments-post.php	6 Oct 2004 00:01:43 -0000	1.11.4.1
--- wp-comments-post.php	6 Oct 2004 16:55:34 -0000	1.11.4.2
***************
*** 95,99 ****
  header('Cache-Control: no-cache, must-revalidate');
  header('Pragma: no-cache');
! $location = get_permalink($comment_ID);
  if ($is_IIS) {
  	header("Refresh: 0;url=$location");
--- 95,99 ----
  header('Cache-Control: no-cache, must-revalidate');
  header('Pragma: no-cache');
! $location = get_permalink($comment_post_ID);
  if ($is_IIS) {
  	header("Refresh: 0;url=$location");




More information about the cvs mailing list