From 1eebb0b327edbc46bd548939943b5ff103e733c7 Mon Sep 17 00:00:00 2001 From: michelvaldrighi Date: Fri, 2 Apr 2004 01:21:29 +0000 Subject: [PATCH] upgraded requirements to PHP 4.1.0, added comment_date_gmt field git-svn-id: http://svn.automattic.com/wordpress/trunk@1048 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/install.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/wp-admin/install.php b/wp-admin/install.php index 5e8e65a1d..fffcac035 100644 --- a/wp-admin/install.php +++ b/wp-admin/install.php @@ -54,7 +54,7 @@ switch($step) { ?>

Welcome to WordPress. We’re now going to go through a few steps to get you up and running with the latest in personal publishing platforms. Before - we get started, remember that we require a PHP version of at least 4.0.6, you + we get started, remember that we require a PHP version of at least 4.1.0, you have . Look good? You also need to set up the database connection information in wp-config.php. Have you looked at the readme? If you’re all ready, let's @@ -270,6 +270,7 @@ CREATE TABLE $tablecomments ( comment_author_url varchar(100) NOT NULL default '', comment_author_IP varchar(100) NOT NULL default '', comment_date datetime NOT NULL default '0000-00-00 00:00:00', + comment_date_gmt datetime NOT NULL default '0000-00-00 00:00:00', comment_content text NOT NULL, comment_karma int(11) NOT NULL default '0', PRIMARY KEY (comment_ID) @@ -278,7 +279,8 @@ CREATE TABLE $tablecomments ( $q = $wpdb->query($query); $now = date('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_content) VALUES ('1', 'Mr WordPress', 'mr@wordpress.org', 'http://wordpress.org', '127.0.0.1', '$now', '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.')"; +$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.')"; $q = $wpdb->query($query); ?>