Changeset 56180 for trunk/src/wp-includes/comment.php
- Timestamp:
- 07/09/2023 09:46:24 PM (3 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/comment.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment.php
r55988 r56180 652 652 global $wpdb; 653 653 654 // Simple duplicate check. 655 // expected_slashed ($comment_post_ID, $comment_author, $comment_author_email, $comment_content) 654 /* 655 * Simple duplicate check. 656 * expected_slashed ($comment_post_ID, $comment_author, $comment_author_email, $comment_content) 657 */ 656 658 $dupe = $wpdb->prepare( 657 659 "SELECT comment_ID FROM $wpdb->comments WHERE comment_post_ID = %d AND comment_parent = %s AND comment_approved != 'trash' AND ( comment_author = %s ", … … 1353 1355 continue; } 1354 1356 1355 // Do some escaping magic so that '#' chars 1356 // in the spam words don't break things: 1357 // Do some escaping magic so that '#' chars in the spam words don't break things: 1357 1358 $word = preg_quote( $word, '#' ); 1358 1359
Note: See TracChangeset
for help on using the changeset viewer.