Changeset 569 for trunk/b2comments.post.php
- Timestamp:
- 12/05/2003 01:24:02 AM (23 years ago)
- File:
-
- 1 edited
-
trunk/b2comments.post.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/b2comments.post.php
r558 r569 40 40 41 41 $commentstatus = $wpdb->get_var("SELECT comment_status FROM $tableposts WHERE ID = $comment_post_ID"); 42 ++$querycount;43 42 if ('closed' == $commentstatus) 44 43 die('Sorry, comments are closed for this item.'); … … 69 68 /* Flood-protection */ 70 69 $lasttime = $wpdb->get_var("SELECT comment_date FROM $tablecomments WHERE comment_author_IP = '$user_ip' ORDER BY comment_date DESC LIMIT 1"); 71 ++$querycount;72 70 $ok = true; 73 71 if (!empty($lasttime)) { … … 102 100 103 101 $comment_ID = $wpdb->get_var('SELECT last_insert_id()'); 104 ++$querycount;105 102 106 103 if (($moderation_notify) && (!$approved)) {
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)