[wp-cvs] wordpress/wp-admin install.php,1.30,1.31

Ryan Boren rboren at users.sourceforge.net
Wed May 26 09:30:57 CDT 2004


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

Modified Files:
	install.php 
Log Message:
Change $tablecomments to $wpdb-comments.  From Kitty.

Index: install.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/install.php,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -d -r1.30 -r1.31
*** install.php	24 May 2004 08:22:17 -0000	1.30
--- install.php	26 May 2004 14:30:53 -0000	1.31
***************
*** 286,290 ****
  $now = date('Y-m-d H:i:s');
  $now_gmt = gmdate('Y-m-d H:i:s');
! $query = "INSERT INTO $tablecomments (comment_post_ID, comment_author, comment_author_email, comment_author_url, comment_author_IP, comment_date, comment_date_gmt, comment_content) VALUES ('1', 'Mr WordPress', 'mr at wordpress.org', 'http://wordpress.org', '127.0.0.1', '$now', '$now_gmt', 'Hi, this is a comment.<br />To delete a comment, just log in, and view the posts\' comments, there you will have the option to edit or delete them.')";
  $q = $wpdb->query($query);
  ?>
--- 286,290 ----
  $now = date('Y-m-d H:i:s');
  $now_gmt = gmdate('Y-m-d H:i:s');
! $query = "INSERT INTO $wpdb->comments (comment_post_ID, comment_author, comment_author_email, comment_author_url, comment_author_IP, comment_date, comment_date_gmt, comment_content) VALUES ('1', 'Mr WordPress', 'mr at wordpress.org', 'http://wordpress.org', '127.0.0.1', '$now', '$now_gmt', 'Hi, this is a comment.<br />To delete a comment, just log in, and view the posts\' comments, there you will have the option to edit or delete them.')";
  $q = $wpdb->query($query);
  ?>




More information about the cvs mailing list