Changeset 558 for trunk/b2comments.post.php
- Timestamp:
- 11/25/2003 12:46:52 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/b2comments.post.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/b2comments.post.php
r555 r558 40 40 41 41 $commentstatus = $wpdb->get_var("SELECT comment_status FROM $tableposts WHERE ID = $comment_post_ID"); 42 42 ++$querycount; 43 43 if ('closed' == $commentstatus) 44 44 die('Sorry, comments are closed for this item.'); … … 69 69 /* Flood-protection */ 70 70 $lasttime = $wpdb->get_var("SELECT comment_date FROM $tablecomments WHERE comment_author_IP = '$user_ip' ORDER BY comment_date DESC LIMIT 1"); 71 ++$querycount; 71 72 $ok = true; 72 73 if (!empty($lasttime)) { … … 101 102 102 103 $comment_ID = $wpdb->get_var('SELECT last_insert_id()'); 104 ++$querycount; 103 105 104 106 if (($moderation_notify) && (!$approved)) {
Note: See TracChangeset
for help on using the changeset viewer.