Changeset 38047 for trunk/src/wp-includes/comment.php
- Timestamp:
- 07/13/2016 01:47:49 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment.php
r37985 r38047 1056 1056 if ( '' == $mod_keys ) 1057 1057 return false; // If moderation keys are empty 1058 1059 // Ensure HTML tags are not being used to bypass the blacklist. 1060 $comment_without_html = wp_kses( $comment, array() ); 1061 1058 1062 $words = explode("\n", $mod_keys ); 1059 1063 … … 1073 1077 || preg_match($pattern, $email) 1074 1078 || preg_match($pattern, $url) 1075 || preg_match($pattern, $comment )1079 || preg_match($pattern, $comment_without_html) 1076 1080 || preg_match($pattern, $user_ip) 1077 1081 || preg_match($pattern, $user_agent)
Note: See TracChangeset
for help on using the changeset viewer.