Make WordPress Core

Changeset 1363


Ignore:
Timestamp:
05/26/2004 02:30:53 PM (21 years ago)
Author:
rboren
Message:

Change $tablecomments to $wpdb-comments. From Kitty.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/install.php

    r1355 r1363  
    286286$now = date('Y-m-d H:i:s');
    287287$now_gmt = gmdate('Y-m-d H:i:s');
    288 $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.<br />To delete a comment, just log in, and view the posts\' comments, there you will have the option to edit or delete them.')";
     288$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.<br />To delete a comment, just log in, and view the posts\' comments, there you will have the option to edit or delete them.')";
    289289$q = $wpdb->query($query);
    290290?>
Note: See TracChangeset for help on using the changeset viewer.