Changeset 8720 for trunk/wp-comments-post.php
- Timestamp:
- 08/24/08 06:56:22 (3 months ago)
- Files:
-
- trunk/wp-comments-post.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-comments-post.php
r8149 r8720 67 67 wp_die( __('Error: please type a comment.') ); 68 68 69 $commentdata = compact('comment_post_ID', 'comment_author', 'comment_author_email', 'comment_author_url', 'comment_content', 'comment_type', 'user_ID'); 69 $comment_parent = isset($_POST['comment_parent']) ? absint($_POST['comment_parent']) : 0; 70 71 $commentdata = compact('comment_post_ID', 'comment_author', 'comment_author_email', 'comment_author_url', 'comment_content', 'comment_type', 'comment_parent', 'user_ID'); 70 72 71 73 $comment_id = wp_new_comment( $commentdata );
