From 86cf4e90d6d291fecbc9e013e388ebe1030ceaf0 Mon Sep 17 00:00:00 2001 From: rboren Date: Wed, 26 May 2004 14:30:53 +0000 Subject: [PATCH] Change $tablecomments to $wpdb-comments. From Kitty. git-svn-id: http://svn.automattic.com/wordpress/trunk@1363 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/install.php b/wp-admin/install.php index 0970484b6b..3d89e089c5 100644 --- a/wp-admin/install.php +++ b/wp-admin/install.php @@ -285,7 +285,7 @@ $q = $wpdb->query($query); $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@wordpress.org', 'http://wordpress.org', '127.0.0.1', '$now', '$now_gmt', 'Hi, this is a comment.
To delete a comment, just log in, and view the posts\' comments, there you will have the option to edit or delete them.')"; +$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@wordpress.org', 'http://wordpress.org', '127.0.0.1', '$now', '$now_gmt', 'Hi, this is a comment.
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); ?>