Changeset 1705 for trunk/wp-includes/functions-post.php
- Timestamp:
- 09/22/2004 07:44:35 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions-post.php
r1630 r1705 357 357 extract($commentdata); 358 358 359 $comment_post_ id = (int) $comment_post_id;359 $comment_post_ID = (int) $comment_post_ID; 360 360 361 361 $comment_author = strip_tags($comment_author); … … 386 386 } 387 387 388 if( check_comment($ author, $email, $url, $comment, $user_ip, $user_agent) )388 if( check_comment($comment_author, $comment_author_email, $comment_author_url, $comment_content, $user_ip, $user_agent) ) 389 389 $approved = 1; 390 390 else … … 394 394 (comment_post_ID, comment_author, comment_author_email, comment_author_url, comment_author_IP, comment_date, comment_date_gmt, comment_content, comment_approved, comment_agent) 395 395 VALUES 396 ('$comment_post_ID', '$ author', '$email', '$tb_url', '$user_ip', '$now', '$now_gmt', '$comment', '$approved', '$user_agent')396 ('$comment_post_ID', '$comment_author', '$comment_author_email', '$comment_author_url', '$user_ip', '$now', '$now_gmt', '$comment_content', '$approved', '$user_agent') 397 397 "); 398 398
Note: See TracChangeset
for help on using the changeset viewer.