Changeset 54888 for trunk/src/wp-includes/comment.php
- Timestamp:
- 11/28/2022 07:42:56 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment.php
r54877 r54888 98 98 * fail the check for the given field by returning false. 99 99 */ 100 $pattern = "#$word#i ";100 $pattern = "#$word#iu"; 101 101 if ( preg_match( $pattern, $author ) ) { 102 102 return false; … … 1358 1358 $word = preg_quote( $word, '#' ); 1359 1359 1360 $pattern = "#$word#i ";1360 $pattern = "#$word#iu"; 1361 1361 if ( preg_match( $pattern, $author ) 1362 1362 || preg_match( $pattern, $email )
Note: See TracChangeset
for help on using the changeset viewer.