Changeset 6658
- Timestamp:
- 01/25/2008 06:50:52 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment.php
r6640 r6658 553 553 554 554 if ( ! isset($comment_author_IP) ) 555 $comment_author_IP = preg_replace( '/[^0-9 ., ]/', '',$_SERVER['REMOTE_ADDR'] );555 $comment_author_IP = preg_replace( '/[^0-9a-fA-F:., ]/', '',$_SERVER['REMOTE_ADDR'] ); 556 556 if ( ! isset($comment_date) ) 557 557 $comment_date = current_time('mysql');
Note: See TracChangeset
for help on using the changeset viewer.