typo
git-svn-id: http://svn.automattic.com/wordpress/trunk@1018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5e3f6d89a5
commit
b9c1be51f0
|
@ -87,7 +87,7 @@ if ($ok) { // if there was no comment from this IP in the last 10 seconds
|
||||||
$wpdb->query("INSERT INTO $tablecomments
|
$wpdb->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, comment_approved)
|
(comment_post_ID, comment_author, comment_author_email, comment_author_url, comment_author_IP, comment_date, comment_date_gmt, comment_content, comment_approved)
|
||||||
VALUES
|
VALUES
|
||||||
('$comment_post_ID', '$author', '$email', '$url', '$user_ip', '$now', ,'$now_gmt', '$comment', '$approved')
|
('$comment_post_ID', '$author', '$email', '$url', '$user_ip', '$now', '$now_gmt', '$comment', '$approved')
|
||||||
");
|
");
|
||||||
|
|
||||||
$comment_ID = $wpdb->get_var('SELECT last_insert_id()');
|
$comment_ID = $wpdb->get_var('SELECT last_insert_id()');
|
||||||
|
|
Loading…
Reference in New Issue