Changeset 1739
- Timestamp:
- 10/04/2004 08:54:04 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-comments-post.php
r1603 r1739 78 78 "); 79 79 80 $comment_ID = $wpdb->get_var('SELECT last_insert_id()'); 80 $comment_ID = $wpdb->insert_id; 81 82 do_action('comment_post', $comment_ID); 81 83 82 84 if (!$approved) { … … 87 89 wp_notify_postauthor($comment_ID, 'comment'); 88 90 } 89 90 do_action('comment_post', $comment_ID);91 91 92 92 setcookie('comment_author_' . $cookiehash, stripslashes($author), time() + 30000000, COOKIEPATH);
Note: See TracChangeset
for help on using the changeset viewer.