Changeset 11323 for trunk/wp-includes/comment.php
- Timestamp:
- 05/14/2009 02:00:32 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment.php
r11204 r11323 465 465 return; // don't throttle admins 466 466 if ( $lasttime = $wpdb->get_var( $wpdb->prepare("SELECT comment_date_gmt FROM $wpdb->comments WHERE comment_author_IP = %s OR comment_author_email = %s ORDER BY comment_date DESC LIMIT 1", $ip, $email) ) ) { 467 $time_lastcomment = mysql2date('U', $lasttime );468 $time_newcomment = mysql2date('U', $date );467 $time_lastcomment = mysql2date('U', $lasttime, false); 468 $time_newcomment = mysql2date('U', $date, false); 469 469 $flood_die = apply_filters('comment_flood_filter', false, $time_lastcomment, $time_newcomment); 470 470 if ( $flood_die ) {
Note: See TracChangeset
for help on using the changeset viewer.