Changeset 11713 for trunk/wp-includes/comment.php
- Timestamp:
- 07/14/2009 08:20:24 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/comment.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/comment.php
r11450 r11713 984 984 985 985 $commentdata['comment_author_IP'] = preg_replace( '/[^0-9a-fA-F:., ]/', '',$_SERVER['REMOTE_ADDR'] ); 986 $commentdata['comment_agent'] = $_SERVER['HTTP_USER_AGENT'];986 $commentdata['comment_agent'] = substr($_SERVER['HTTP_USER_AGENT'], 0, 254); 987 987 988 988 $commentdata['comment_date'] = current_time('mysql');
Note: See TracChangeset
for help on using the changeset viewer.