From 5fb2c2511d8840d2065500e376ba9416284de011 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 26 May 2004 14:30:53 +0000 Subject: [PATCH] Change $tablecomments to $wpdb-comments. From Kitty. git-svn-id: https://develop.svn.wordpress.org/trunk@1363 602fd350-edb4-49c9-b593-d223f7449a82 --- 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); ?>